You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Nicolas Brasey <ni...@gmail.com> on 2017/09/01 11:57:49 UTC

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

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
>