maven 打包 deploy 项目时 出现 401 Unauthorized - 大姚666 - 博客园
对这个问题的解决方法 在maven 插件中的 setting.xml 需要配置服务的授权信息
releases
admin
admin123
snapshots
admin
admin123
然后再项目的Pom文件需要配置自己的私服仓库地址
release
Nexus Release Repository
http://xxxx/nexus/content/repositories/releases
snapshots
Nexus Release Repository
http://xxxx/nexus/content/repositories/snapshots
注意:setting中的 Servers中的ID 要欲 pom文件中的 repository的ID 必须一致