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