使用命令mkdistro构建oozie 4.1.0时出错

时间:2016-06-12 15:35:01

标签: maven hadoop oozie

我一直在尝试在我的hadoop集群中配置和设置oozie环境。

系统信息

jdk 1.8
hadoop 2.4
maven 3.3.0
oozie 4.1.0

遵循此特定post from quora

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.oozie:oozie-zookeeper-security-tests:4.1.0 (/usr/local/oozie_4.1.0/oozie/zookeeper-security-tests/pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.4.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.4.0: Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.4.0 from/to repository.cloudera.com (https://repository.cloudera.com/artifactory/ext-release-local): repository.cloudera.com: unknown error: Unknown host repository.cloudera.com: unknown error -> [Help 2]

现在我尝试将我的oozie版本更改为4.0.1,现在我收到以下错误。

[错误]解决插件版本的错误' com.atlassian.maven.plugins:maven-clover2-plugin'来自存储库[local(/root/.m2/repository),repository.cloudera.com(https://repository.cloudera.com/artifactory/ext-release-local),central(https://repo.maven.apache.org/maven2)]:插件在任何插件存储库中都找不到 - > [帮助1]

请帮我解决这个问题。感谢adv:)

1 个答案:

答案 0 :(得分:0)

您是否尝试过将pluginrepository更改为maven central?

将pom.xml中的<pluginrepository>部分替换为

<pluginRepositories>
    <pluginRepository>
      <id>central</id>
      <name>Maven Plugin Repository</name>
      <url>http://repo1.maven.org/maven2</url>
      <layout>default</layout>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>