Why creating offline repository fails with Unable to find the feature 'pax-jetty' error in Fuse 6.1.0 ?
Issue
-
While building custom offline repository for JBoss Fuse 6.1 we are receiving
"pax-jetty"
and"pax-http"
related errors like following[ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.1:add-features-to-repo (add-features-to-repo) on project offline-repo: Error populating repository: Unable to find the feature 'pax-jetty' -> [Help 1] [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.1:add-features-to-repo (add-features-to-repo) on project offline-repo: Error populating repository: Unable to find the feature 'pax-http' -> [Help 1]
-
We went through all the steps in the documentation located here: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Deploying_into_the_Container/Locate-CustomRepo.html Still it is causing the above error.
- Depending on which feature is removed a
"Unable to find the feature 'pax-http'"
error also occurs along with"Unable to find the feature 'pax-jetty'"
. - Is it related to https://issues.apache.org/jira/browse/KARAF-2212. The error comes up because of a missing repository or descriptor in the
"pom.xml"
. - Is it correct that the custom offline repo would work this would be enough to let Fuse work in an offline eviroment?
- The offline maven repository with all project dependencies like camel / third partie stuff etc. would be just for developement building purpose, right?
- Does Fuse itself also need to download maven dependencies at runtime?
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.