Deploy bundle to remote repository

Deploy to remote repository successfully:
mvn deploy:deploy-file -Dfile=C:\agile\apache-maven-3.2.1\.m2\hello-camel-file\hello-file\0.0.2\hello-file-0.0.2.jar -DpomFile=C:\agile\apache-maven-3.2.1\.m2\hello-camel-file\hello-file\0.0.2\hello-file-0.0.2.pom -DrepositoryId=Remoted_Repository_Id -Durl=http://user:password@Remoted_Repository_URL:8081/artifactory/SSGM_PreDevelopment


mvn deploy:deploy-file -Dfile=C:\agile\apache-maven-3.2.1\.m2\hello-camel-file\hello-file\0.0.3-SNAPSHOT\hello-file-0.0.3-SNAPSHOT.jar -DpomFile=C:\agile\apache-maven-3.2.1\.m2\hello-camel-file\hello-file\0.0.3-SNAPSHOT\hello-file-0.0.3.pom -DrepositoryId=Remoted_Repository_Id -Durl=http://user:password@Remoted_Repository_URL:8081/artifactory/SSGM_PreDevelopment

第二条上传成功,但安装不了,pom中的version有snapshot自动变成当前日期。
<dependency>  
<groupId>hello-camel-file</groupId>
<artifactId>hello-file</artifactId>
<version>0.0.3-20140807.095543-1</version>
<type>pom</type>
</dependency>


把pom的file名改成hello-file-0.0.3-SNAPSHOT.pom, 执行失败:
mvn deploy:deploy-file -Dfile=C:\agile\apache-maven-3.2.1\.m2\hello-camel-file\hello-file\0.0.3-SNAPSHOT\hello-file-0.0.3-SNAPSHOT.jar -DpomFile=C:\agile\apache-maven-3.2.1\.m2\hello-camel-file\hello-file\0.0.3-SNAPSHOT\[color=red]hello-file-0.0.3-SNAPSHOT.pom[/color] -DrepositoryId=Remoted_Repository_Id -Durl=http://user:password@Remoted_Repository_URL:8081/artifactory/SSGM_PreDevelopment


install bundle:
install mvn:com.ssc.ssgm.fx/gmbh-b2b-workflow/0.0.1-SNAPSHOT
install mvn:com.statestr.fx.gmbhb2b/gmbh-b2b-shared/0.0.1


如何查看前面例子中发送给activeMQ queue中消息?

使用指令

activemq:browse --amqurl tcp://localhost:61616 events

features:install camel-groovy
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值