Hi,

I guess you are using the karaf-maven-plugin to create the kar (you can always 
create the kar by hand).

If a bundle or feature is flagged as dependency=true, it should not be included 
(or you have <ignoreDependencyFlag>true</ignoreDependencyFlag>).

Regards
JB

> Le 21 mai 2021 à 00:01, Paul Fraser <[email protected]> a écrit :
> 
> Hi,
> 
> When creating a kar file for a feature that has prerequisites, all bundles of 
> the prerequisite are included in the kar.
> 
> This can result in large kar files when the kar feature only adds little to 
> the overall system. Most of the requirements of the new kar are already in 
> the karaf system folder.
> 
> Is there a way to not include bundles in a kar that are already in the karaf 
> system folder?
> 
> prerequisite and dependency attributes on the feature make no difference.
> 
> Paul Fraser
> 

Reply via email to