admin管理员组

文章数量:1576389

闲言少叙,直奔主题吧。 最近两天编译项目代码时运行maven的install时,总是超时,然后出来一大堆错误,如下
Could not transfer artifact com.wcm:axiom-api:pom:1.2.13 from/to codehaus-repo (http://dist.codehaus/mule/dependencies/maven2): peer not authenticated  

[ERROR]   
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache/confluence/display/MAVEN/DependencyResolutionException

后来也是一顿上网查,结果还是超时。
后来一个哥们给我说,把pom.xml里面的repositories标签下的配置文件都给注释了,结果果然好使。在这里分享一下,希望能帮到一些朋友吧。

本文标签: 报错maven