当前位置: 代码迷 >> 综合 >> 编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)
  详细解决方案

编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)

热度:27   发布时间:2023-10-19 08:29:00.0

如题,这个atlas-buildtools 1.0版本依赖在aliyun、repo1、repo2等多个仓库都没找到,于是报错如下编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1:check (checkstyle-check) on project apache-atlas: Execution checkstyle-check of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1 or one of its dependencies could not be resolved: org.apache.atlas:atlas-buildtools:jar:1.0 was not found in http://maven.aliyun.com/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of alimaven 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] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command

一时没有找到哪个仓库有1.0版本依赖,不过0.8.1版本在中央仓库是有的
编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)

懒得找了,修改源码pom.xml里面atlas-buildtools的版本为0.8.1吧。
编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)

重新编译,问题解决,美滋滋
编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)
编译Atlas 2.2.0 时报错:org.apache.atlas:atlas-buildtools:jar:1.0 was not found (已解决)

  相关解决方案