Hi All,

I am quite new with karaf and I my current goal is to create a kar with
features of my multi-module project. I frequently read the karaf-users
mailing list and tried to figure stuff out reading the guide (
http://karaf.apache.org/manual/2.2.2/developers-guide/features-maven-plugin.html)
but the information there is incomplete and outdated. So here are my issues:

- using the "generate-features-xml" goal (having all to be included bundles
as dependencies in the pom) it does create a features.xml file but creates
one feature for each bundle instead of collecting them into the one feature
I want to set up

- switched to trying the "features:add-features-to-repo" and provided the
modified features.xml by myself the plugin copies tons of bundles into the
repository folder even though I have no dependencies in the pom and set the
properties "includeDependencies" and "addTransitiveFeatures" to false.
Additionally since my bundles use packaging "bundle" the corresponding files
have a .bundle extension instead of .jar

Can someone give me an advice how to modify the settings to collect the
bundles defined in features.xml and how to package the outcome into a .kar
archive ?

Thanks and Regards,
Michael

features-maven-plugin version: 2.2.2

Reply via email to