maven 服务器
<!-- 私有仓库 -->
<repositories>
<repository>
<id>public</id> <!--这个ID需要与你的组group ID一致-->
<name>Public Repository</name>
<url>http://192.168.11.105:8082/nexus/content/groups/public</url>
</repository>
</repositories>
<!-- 打包发布 -->
<distributionManagement>
<repository>
<id>releases</id><!--这个ID需要与你的release仓库的Repository ID一致-->
<url>http://192.168.11.105:8082/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>snapshots</id><!--这个ID需要与你的snapshots仓库的Repository ID一致-->
<url>http://192.168.11.105:8082/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<servers>
<server>
<id>releases</id>
<username>deployment</username>
<password>dev123</password><!--这个密码就是你设置的密码-->
</server>
<server>
<id>snapshots</id>
<username>deployment</username>
<password>dev123</password><!--这个密码就是你设置的密码-->
</server>
</servers>