I went ahead and updated our feature.xml template to include the following:
<feature name="myApp" version="myVersion" install="auto">
<feature>scr</feature>
<repository>mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features</repository>
<bundle>mvn:myCompany/myProject/myVersion</bundle>
</feature>
I specifically added the bundle that ultimately uses CXF to our feature
file, even though that bundle is already in the features pom.xml as a
dependency. That didn't result in any additional bundles being included in
our KAR. CXF is still not included in the KAR. CXF, like SCR, it not
actually listed as a dependency in any of our bundle pom files. Those
features just need to be there for our stuff to work even though our stuff
does not directly rely on calling into those jars.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html