Document: Test Upate-site in Location

**This is for your reference only! Do not use this for commercial purpose!**

1. Start up Archiva

Note that Archiva should run in Linux. At first, you could find the Talend Archiva from "Talend-AdministrationCenter-r****-V*.*.*.zip", unzip this file and enter to find this folder "Talend-Artifact-Repository-V*.*.*".

Issue the following command to start up archiva:

marvin@marvin-HP-Compaq-6280-Pro-MT-PC:/../bin$ sh archiva.sh console

2. Check if Archiva Works

In order to check if Archiva works well, type the following URL to login Archiva:

http://[IP]:8082/archiva/security/login.action
with the following info:
Username: admin
Password: 1q2w3e4r
3. Upload Artifact


Two files, *.zip and *.html, are required to upload to Archiva.

Script for *.zip file to upload:

mvn deploy:deploy-file -DgroupId=org.talend -DartifactId=studio-all-update-site -Dversion=5.1.2 -Dpackaging=zip -Dfile=studio-all-update-site-5.1.2-Patch_20120927_tPreJobFix_v1_Talend_Studio_Patch.zip -Dclassifier=Patch_20120927_tPreJobFix_v1_Talend_Studio_Patch -Durl=http://[IP]:8082/archiva/repository/talend-update-admin/ -DgeneratePom=false -DrepositoryId=archiva.linux

Script for *.html file to upload:

mvn deploy:deploy-file -DgroupId=org.talend -DartifactId=release-description -Dversion=5.1.2 -Dpackaging=txt -Dfile=release-description-5.1.2-Patch_20120927_tPreJobFix_v1_Talend_Studio_Patch.html -Dclassifier=Patch_20120927_tPreJobFix_v1_Talend_Studio_Patch -Durl=http://[IP]:8082/archiva/repository/talend-update-admin/ -DgeneratePom=false -DrepositoryId=archiva.linux

Note: For *.html file the "-Dpackaging" should be " txt ".


4. Setup and Configure TAC

About how to set up TAC, please refer to another article named TAC User Guide. Login TAC and do the following:

Left Menu --> Configuration --> Software Update --> Repository url: http://[IP]:8020/archiva/
5. Fetch Update-site

In TAC select "Software update" in left menu to check the patch. Normally you should see the udpate-site that you just made. Click to download it.

6. Apply Patch

Start up a studio that you want to apply this patch, then in the login page you will find the button of "update", click it and wait for updating.


转载于:https://my.oschina.net/javachina/blog/110597

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值