构件打包发布到远程仓库时注意配置
2012-12-17 14:52
218 查看
将构件打包发布到远程仓库时注意配置问题
一个是本地的setting.xml中一定要配置相应的server,包括用户名密码和server id(这个特别注意后面会提到)
<servers>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>llq</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>admin</username>
<password>llq</password>
</server>
另一个构件的pom.xml中 repository的id与上面的server 的id对应上包括releases 和 snapshots
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>Nexus Release Repository</name>
<url>http://172.16.60.71:8081/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>http://172.16.60.71:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
一个是本地的setting.xml中一定要配置相应的server,包括用户名密码和server id(这个特别注意后面会提到)
<servers>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>llq</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>admin</username>
<password>llq</password>
</server>
另一个构件的pom.xml中 repository的id与上面的server 的id对应上包括releases 和 snapshots
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>Nexus Release Repository</name>
<url>http://172.16.60.71:8081/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>http://172.16.60.71:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
相关文章推荐
- unity3d-配置Android环境,打包发布Apk流程详解
- Maven安装,本地远程仓库创建以及eclipse的配置
- maven配置远程仓库及常用远程仓库
- 远程代码仓库URL地址变更后本地仓库的配置方法
- maven,nexus远程仓库地址及其配置
- 图文讲解jenkins的安装与配置---远程发布、自动监测代码更新
- nexus的仓库介绍,以及配置远程仓库
- iOS应用真机调试/证书配置/打包/发布国际化
- qt creator编译的程序 打包发布 (程序运行错误注意)
- VS2013 利用msvsmon远程调试发布到服务器IIS上程序环境配置
- 将 Smart 构件发布到 Maven 中央仓库
- windows下多个git账号配置并且将本地仓库项目推送到远程仓库
- windows下多个git账号配置并且将本地仓库项目推送到远程仓库
- svn仓库迁移及配置注意事项?
- AndroidStudio如何打包生成realease版本的arr包,并上传到Nexus搭建的maven仓库,供项目远程依赖(一)
- nexus的仓库介绍,以及配置远程仓库
- 发布Maven构件到中央仓库 和那些经历过的坑
- 使用Continuum配置定时打包发布服务
- Maven——远程仓库的配置
- Maven 配置远程仓库