You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Jörn Gersdorf <jo...@gersdorf.info> on 2016/06/29 08:56:49 UTC
karaf-maven-plugin / KAR / transitive features
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
Re: karaf-maven-plugin / KAR / transitive features
Posted by Nicolas Brasey <ni...@gmail.com>.
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 <jo...@gersdorf.info> 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
>