我正在尝试Fabric8 Spring Boot
快速入门,按照此处记录的步骤,我收到以下错误:
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:1.2.0.Beta4:deploy (default-cli) on project my-spring-boot-rest-module: Execution default-cli of goal io.fabric8:fabric8-maven-plugin:1.2.0.Beta4:deploy failed: Plugin io.fabric8:fabric8-maven-plugin:1.2.0.Beta4 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:jar:2.4.0.redhat-620004, org.apache.karaf.admin:org.apache.karaf.admin.management:jar:2.4.0.redhat-620004, org.apache.karaf.features:org.apache.karaf.features.core:jar:2.4.0.redhat-620004, org.apache.karaf:apache-karaf:zip:2.4.0.redhat-620004: Failure to find org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:jar:2.4.0.redhat-620004 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
我正在Maven 3.3.9
运行Java 1.8.0_91
Ubuntu 14.04
本指南是否不起作用,或者我的配置中缺少某些内容?
需要考虑的要点:
- 我
~/.m2/settings.xml
的没动过 - 我作为第一步下载的项目原型没有受到影响(除了
mvn install
- 我
Fabric8
在JBoss Fuse 6.2.0.redhat-133
本地机器上运行 - 我已经尝试运行
mvn -U fabric8:deploy -DskipTests
更新快照(无效) - 这个完全无用的问题是 Redhat 唯一承认这个问题的 - 将我
Maven
的版本更改为旧3.2.3
版本(需要更改Java 6
运行时)并不能解决未来的问题。