在我的macbookpron上构建oozie 4.2.0时,我在下面经历了这个问题。我在用
我打开了JIRA 2415 https://issues.apache.org/jira/browse/OOZIE-2415.The的软渗4.2在2015年6月-03是几天前的可待因(http://www.codehaus.org/history/)结束的日子(2015年5月31日)
发布于 2015-12-05 05:31:22
我能够通过删除存储库Codehaus存储库来编辑父pom.xml文件来解决这个问题。
<repository>
<id>Codehaus repository</id>
<url>http://repository.codehaus.org/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository> 我想知道是否有更好的办法。
codehause存储库已经关闭,因此出现了错误。
[编辑: archive.org在https://web.archive.org/web/20150505221755/http://repository.codehaus.org/org上有repository.codehaus.org的存档文件]
发布于 2017-11-13 21:58:49
在您的~/.m2/setings.xml中,为codehaus添加一个镜像条目。这避免了编辑父POM。
示例:
...
<mirror>
<id>codehaus</id>
<mirrorOf>Codehaus repository</mirrorOf>
<name>Codehaus repository</name>
<url>http://central.maven.org/maven2/</url> <!-- Point to Maven central instead -->
</mirror>
...https://stackoverflow.com/questions/34101666
复制相似问题