首页 > 其他 > 详细

nexus :ReasonPhrase:Unauthorized

时间:2020-06-21 18:33:35      阅读:226      评论:0      收藏:0      [点我收藏+]

Downloading from nexus: http://192.168.70.132:8081/repository/maven-public/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to nexus (http://192.168.70.132:8081/repository/maven-public/): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]

未通过认证,未授权,从nexus(http://192.168.70.132:8081/repository/maven-public/)下载包

 

在server配置中添加mirrorID的登陆认证

<server>
  <id>mirror-id</id>
  <username>user</username>
  <password>passwd</password>
</server>

<mirror>
  <id>mirror-id</id>
</mirror>

 

nexus :ReasonPhrase:Unauthorized

原文:https://www.cnblogs.com/abc987plm/p/13173347.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!