I am trying out a Fabric8 Spring Boot
quickstart, following the steps documented here I get the following error:
[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]
I am running with Maven 3.3.9
and Java 1.8.0_91
on Ubuntu 14.04
Does this guide just not work, or am I missing something from my configuration?
Points to consider:
~/.m2/settings.xml
is untouchedmvn install
Fabric8
inside JBoss Fuse 6.2.0.redhat-133
on my local machinemvn -U fabric8:deploy -DskipTests
to update snapshots (to no effect)Maven
to the ancient 3.2.3
version (necessitating a change to Java 6
runtime) is not going to fix the problem going forward.fabric8 v1 is part of JBoss Fuse, and you can find documentation how to use it as part of the JBoss Fuse product documentation: http://developers.redhat.com/products/fuse/overview/
The Maven Archetype goal to use is different version number than what you type, you must use the version number of the JBoss Fuse product version you use.
In the upstream community fabric8 is now on version 2 which is a different architecture based on Kubernetes and Docker. Unfortunately you found an old documentation of the fabric8 v1 in that gitbook. The fabric8 version 2 documentation is what you can find from the website at the documentation page: https://fabric8.io/