项目打jar包上传至maven仓库
1.maven的setting.xml配置
<servers>
<server>
<id>releases</id>
<username>xxxx</username>
<password>xxxx</password>
</server>
<server>
<id>snapshots</id>
<username>xxxx</username>
<password>xxxx</password>
</server>
<server>
<id>group</id>
<username>xxx</username>
<password>xxxx</password>
</server>
</servers>
2.pom文件配置
<distributionManagement>
<repository>
<id>snapshots</id>
<url>http://xxxx:8080/repository/xxxx/</url>
</repository>
</distributionManagement>
3.Eclipse 配置maven build设置
4.运行Maven build,成功上传
版权声明:本文为weixin_44226196原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。