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
在Git中,当你从本地仓库上传到远程仓库时,如果遇到"gitee push fatal: Could not read from remote repository"这个错误,通常是因为你没有正确设置SSH公钥所致。 解决这个问题的步骤如下: 1. 生成对应本地仓库的SSH公钥。 2. 获取对应本地仓库的SSH公钥值。 3. 将得到的SSH公钥复制,添加到远程仓库(gitee)的SSH公钥上。 具体操作步骤如下: 1. 打开终端或命令行界面,输入以下命令生成SSH公钥: ``` ssh-keygen -t rsa -C "your_email@example.com" ``` 注意:将"your_email@example.com"替换为你注册gitee时使用的电子邮件地址。 2. 生成SSH公钥后,可以通过以下命令获取SSH公钥的值: ``` cat ~/.ssh/id_rsa.pub ``` 复制输出的SSH公钥值。 3. 登录到gitee的网站,在头像上方点击进入设置,然后选择"SSH公钥"。 4. 在SSH公钥页面上,点击"添加SSH公钥"按钮,将之前复制的SSH公钥值粘贴到输入框中,并点击"确定"保存。 5. 回到本地仓库的终端或命令行界面,再次运行"git push origin master"命令,应该可以成功上传到远程仓库。 通过以上步骤,你应该能够解决"gitee push fatal: Could not read from remote repository"的问题,并成功将本地仓库上传到gitee远程仓库。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [Gitee:使用ssh提交代码却提示:DeployKey does not support push code fatal: Could not read from remote...](https://blog.csdn.net/weixin_46253682/article/details/125897811)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值