karaf-maven-plugin / KAR / transitive features

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

karaf-maven-plugin / KAR / transitive features

Jörn Gersdorf-2

Hello,

it seems – after looking at the source code – that the KAR tooling provided by karaf-maven-plugin (and features-maven-plugin before) only includes those bundles in a kar which are directly mentioned in the underlying feature repository xml file.

In particular, the plugin does add bundles to the KAR referenced only in dependent features which are in other feature repositories referenced.

Is that correct, and is there any workaround other than myself building the KAR manually?

Also, shouldn´t there also be a flag "addTransitiveFeatures" like there is in add-features-to-repo goal?

Thanks & cheers

- Jörn

Reply | Threaded
Open this post in threaded view
|

Re: karaf-maven-plugin / KAR / transitive features

nicolas.brasey
Hi Jörn,

I have the exact same issue, how did you solve your transitive feature problem ? 

Thanks!
Nicolas


On Wed, Jun 29, 2016 at 10:56 AM, Jörn Gersdorf <[hidden email]> wrote:

Hello,

it seems – after looking at the source code – that the KAR tooling provided by karaf-maven-plugin (and features-maven-plugin before) only includes those bundles in a kar which are directly mentioned in the underlying feature repository xml file.

In particular, the plugin does add bundles to the KAR referenced only in dependent features which are in other feature repositories referenced.

Is that correct, and is there any workaround other than myself building the KAR manually?

Also, shouldn´t there also be a flag "addTransitiveFeatures" like there is in add-features-to-repo goal?

Thanks & cheers

- Jörn