问题描述
我正在尝试构建从此处下载的Oozie 4.2.0: http://ftp.cixug.es/apache/oozie/4.2.0/oozie-4.2.0.tar.gz
I'm trying to build Oozie 4.2.0 downloaded from here: http://ftp.cixug.es/apache/oozie/4.2.0/oozie-4.2.0.tar.gz
启动构建后
bin/mkdistro.sh -DskipTests
我收到此错误:
[ERROR] Failed to execute goal on project oozie-core: Could not resolve dependencies for project org.apache.oozie:oozie-core:jar:4.2.0: Could not transfer artifact org.apache.hbase:hbase:jar:1.1.1 from/to Codehaus repository (http://repository.codehaus.org/): Unknown host repository.codehaus.org
根据我在Internet上看到的内容,codehause存储库不再可用.没有它,有没有办法建造Oozie?
From what I'm seeing on the Internet, codehause repository is not available any more. Is there a way to build Oozie without it?
推荐答案
仅是为了帮助以后人们看到此问题,您可以通过使用另一个源备份此repo源来解决此问题
Just for the sake of helping people seeing this question in the future , you can resolve this through backing up this repo source with another source
Codehaus托管平台已结束,即其公共Maven存储库也已消失.您应该尝试遵循他们的建议,并将以下内容添加到您的〜/.m2/settings.xml文件中:
The Codehaus hosting platform was ended, i.e., their public Maven repository is gone, too. You should try to follow their advice and add the following to your ~/.m2/settings.xml file:
<repositories>
<repository>
<id>Codehaus repository</id>
<name>codehaus-mule-repo</name>
<url>https://repository-master.mulesoft.org/nexus/content/groups/public/
</url>
<layout>default</layout>
</repository>
</repositories>
这应该使用备份存储库来获取缺少的依赖项.
This should use a backup repository to get the missing dependency.
来源:缺少依赖性hive-builtins导致Oozie的错误代码为410的构建失败
这篇关于构建oozie:未知主机repository.codehaus.org的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!