Hi Jonathan
Does it change something if you add your app bundle in the myApp feature ?
Let me do a try on my machine and add a new test in Karaf about KAR.
I will eventually create a Jira and share with you here.
I keep you posted.
Regards
JB
On 24/10/2019 02:22, jonathanknez wrote:
Sorry for reviving an old thread but I am trying to do the same thing
Christian was. My feature.xml includes the following:
<feature name="myApp" version="myVersion" install="auto">
<feature>scr</feature>
<feature>cxf-jaxrs</feature>
</feature>
The bundles for scr and cxf-jaxrs don't get included in my kar. I will be
installing this kar in a location that has no internet access and no maven
repo to pull from.
JB, you recommended including the <repository>xxx</repository> in the
feature xml file. Is this what you had in mind?
<feature name="myApp" version="myVersion" install="auto">
<feature>scr</feature>
<repository>mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features</repository>
</feature>
The above does not result in any additional bundles being included in the
KAR. I must not be understanding the solution because the above references
the CXF feature file that defines a bunch of features, more than just the
one I need (and its dependencies). Any help would be appreciated.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html