maven发布项目的snapshot到nexus

前端之家收集整理的这篇文章主要介绍了maven发布项目的snapshot到nexus前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、配置发布地址信息

<repositories>
        repository>
            id>nexus</name>Local Repositoryurl>http://192.168.8.23:8081/nexus/content/groups/public/>offical>Maven Official Repository>http://repo1.maven.org/maven2snapshots>
                enabled>false>
    >


    distributionManagement>shj-releases>Internal Releases>http://192.168.8.23:8081/nexus/content/repositories/shj-releases/snapshotRepository>shj-snapshots>Internal Snapshots>http://192.168.8.23:8081/nexus/content/repositories/shj-snapshots/>

2、设置settings.xml

  servers>
server>   
        username>adminpassword>admin123>   
    >

      >
          >
      >

  >

 

原文链接:/maven/991877.html

猜你在找的Maven相关文章