Issues while deploying profiles with fabric8-maven-plugin in Fuse 6.2
Issue
- We created a simple camel project and we want to deploy it to jboss fuse.
According to the doc http://fabric8.io/gitbook/mavenPlugin.html and to some tutorials it's necessary to use fabric8 maven plugin.
So we added the plugin to my pom.xml
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
</plugin>
and we launched the command, mvn fabric8:deploy
.
- We got the below following error,
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:1.2.0.redhat-133:deploy (default-cli) on project test-route: Execution default-cli of goal io.fabric8:fabric8-maven-plugin:1.2.0.redhat-133:deploy failed: Plugin io.fabric8:fabric8-maven-plugin:1.2.0.redhat-133 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-620133, jline:jline:jar:2.12.1.redhat-001, org.apache.karaf.admin:org.apache.karaf.admin.management:jar:2.4.0.redhat-620133, org.apache.karaf:apache-karaf:zip:2.4.0.redhat-620133: Failure to find org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:jar:2.4.0.redhat-620133 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of repo1 has elapsed or updates are forced -> [Help 1]
Environment
- Red Hat JBoss Fuse
- 6.2.0
- Apache Maven
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.