【发布时间】:2017-04-01 03:24:26
【问题描述】:
我仍然收到此错误:
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-resources-plugin
:jar:2.6 in http://it-nexus.myDomain:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of
nexus has elapsed or updates are forced -> [Help 1]
这与这个镜像配置有关:
<mirrors>
<mirror>
<id>nexus</id>
<name>Nexus Public Mirror</name>
<url>http://it-nexus.myDomain:8081/nexus/content/groups/public</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
我不清楚如何配置镜像,以便我可以使用 mvn deploy 上传我的 Artefacts。
在我看来,Maven 在我的普通 Nexus- 服务器上查找插件人工制品。在我看来,应该以这种方式级联,如果我的本地连接中没有人工制品,则应该在中心查找它。 该怎么做?
【问题讨论】: