Deploy bundle to remote repository

2035 ワード

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

2番目のアップロードは成功しましたが、インストールできません.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