`
qtlkw
  • 浏览: 307108 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics