不可解析的导入POM:无法传输工件-在Openshift Cluster上运行Kamel时出现问题-AWS

时间:2019-05-22 12:11:09

标签: amazon-web-services maven kubernetes apache-camel openshift

我正在尝试在AWS实例上安装的Openshift上使用Kamel运行小型演示集成。我从camel-k操作员窗格中收到以下错误。我对如何解决此问题感到困惑。

[ERROR] [ERROR] Some problems were encountered while processing the 
POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact 
org.apache.camel:camel-bom:pom:2.23.2 from/to central 
(https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or 
service not known @ line 9, column 19 [ERROR] 
'dependencies.dependency.version' for org.apache.camel:camel-core:jar 
is missing. @ line 31, column 17 [ERROR] 
'dependencies.dependency.version' for org.apache.camel:camel-groovy:jar 
is missing. @ line 47, column 17 @ [ERROR] The build could not read 1 
project -> [Help 1] [ERROR] [ERROR] The project 
org.apache.camel.k.integration:camel-k-integration:0.3.3 (/tmp/builder- 
121244146/maven/pom.xml) has 3 errors [ERROR] Non-resolvable import 
POM: Could not transfer artifact org.apache.camel:camel-bom:pom:2.23.2 
from/to central (https://repo.maven.apache.org/maven2): 
repo.maven.apache.org: Name or service not known @ line 9, column 19: 
Unknown host repo.maven.apache.org: Name or service not known -> [Help 
2] [ERROR] 'dependencies.dependency.version' for 
org.apache.camel:camel-core:jar is missing. @ line 31, column 17 
[ERROR] 'dependencies.dependency.version' for org.apache.camel:camel- 
groovy:jar is missing. @ line 47, column 17 [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/ProjectBuildingException 
  [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

是否需要在实例上明确安装Maven?在哪里可以找到settings.xml?由于它是动态生成POM的?我对此很陌生,很长一段时间都面临这个问题。你能帮我这个忙吗?非常感谢您的宝贵时间。

0 个答案:

没有答案