Ambari 文件视图构建失败
Ambari file view build failure
我正在尝试构建 Apache Ambari 文件视图,我找到了源代码 here,然后按照自述文件,输入 mvn clean install 进行构建。但是构建失败,报错信息如下:
[ERROR] Failed to execute goal on project files: Could not resolve dependencies for project org.apache.ambari.contrib.views:files:jar:1.0.0.0-SNAPSHOT: Failure to find org.apache.ambari.contrib.views:ambari-views-commons:jar:2.0.0.0-SNAPSHOT in https://oss.sonatype.org/content/groups/staging was cached in the local repository, resolution will not be reattempted until the update interval of oss.sonatype.org has elapsed or updates are forced -> [Help 1]
[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] cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
我检查了给定的 URL,但找不到 ambari-views-commons.jar,感谢任何帮助。
PS。我没有构建 Ambari 的任何其他部分。
该项目依赖于大量其他 ambari 项目。您应该简单地构建整个 ambari 存储库以确保您拥有该特定项目的所有依赖项。如果您导航到 repo 的根目录并执行相同的 mvn clean install
命令,它将构建核心 ambari 项目。然后您需要导航到 contrib/views
目录并通过 运行 mvn clean install
构建该项目,它将构建您想要的文件项目。看起来这个贡献区域没有得到很好的维护,因为一些项目目前无法构建。
我正在尝试构建 Apache Ambari 文件视图,我找到了源代码 here,然后按照自述文件,输入 mvn clean install 进行构建。但是构建失败,报错信息如下:
[ERROR] Failed to execute goal on project files: Could not resolve dependencies for project org.apache.ambari.contrib.views:files:jar:1.0.0.0-SNAPSHOT: Failure to find org.apache.ambari.contrib.views:ambari-views-commons:jar:2.0.0.0-SNAPSHOT in https://oss.sonatype.org/content/groups/staging was cached in the local repository, resolution will not be reattempted until the update interval of oss.sonatype.org has elapsed or updates are forced -> [Help 1]
[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] cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
我检查了给定的 URL,但找不到 ambari-views-commons.jar,感谢任何帮助。
PS。我没有构建 Ambari 的任何其他部分。
该项目依赖于大量其他 ambari 项目。您应该简单地构建整个 ambari 存储库以确保您拥有该特定项目的所有依赖项。如果您导航到 repo 的根目录并执行相同的 mvn clean install
命令,它将构建核心 ambari 项目。然后您需要导航到 contrib/views
目录并通过 运行 mvn clean install
构建该项目,它将构建您想要的文件项目。看起来这个贡献区域没有得到很好的维护,因为一些项目目前无法构建。