Could not find artifact org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:jar:1.2-SNAPSHOT
快捷导航
在开始解决问题之前,大家可以通过下面的导航快速找到相关资源啦!💡👇
快捷导航 | 链接地址 | 备注 |
---|---|---|
相关文档 | - | |
ambari+bigtop自定义组件集成 | https://blog.csdn.net/TTBIGDATA/article/details/142150086 | CSDN地址 |
编译、开发、部署、集成解决方案 | https://t.zsxq.com/0PVcI | 知识星球 |
源代码 | - | |
Ambari-env | https://github.com/TtBigdata/ambari-env | GitHub |
Ambari-env | https://gitee.com/tt-bigdata/ambari-env | Gitee |
Ambari-2.8.0魔改版 | https://gitee.com/tt-bigdata/ambari-2.8.0 | Gitee |
编译包 | - | |
蓝奏云-1.0.2 | https://www.ilanzou.com/s/4mfyXMq9?code=6655 | |
阿里云盘-1.0.2 | https://www.alipan.com/s/q3TqL1mdPBp | 提取码:01no |
联系方式 | - | |
QQ:1群 | https://qm.qq.com/q/3DrsCY5b7a |
正题:如何解决 org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:jar:1.2-SNAPSHOT
错误问题 🤔
1️⃣ 错误分析
下述完整报错日志:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project livy-main: Resources archive cannot be found.: Could not find artifact org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:jar:1.2-SNAPSHOT in nexus (http://172.20.0.2:8081/repository/maven-public/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.apache.resources -DartifactId=apache-incubator-disclaimer-resource-bundle -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.apache.resources -DartifactId=apache-incubator-disclaimer-resource-bundle -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:jar:1.2-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] nexus (http://172.20.0.2:8081/repository/maven-public/, releases=true, snapshots=true)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project livy-main: Resources archive cannot be found.
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
at java.lang.Thread.run (Thread.java:748)
Caused by: org.apache.maven.plugin.MojoExecutionException: Resources archive cannot be found.
at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.downloadBundles (ProcessRemoteResourcesMojo.java:1079)
at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute (ProcessRemoteResourcesMojo.java:509)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)