[ 
https://issues.apache.org/jira/browse/KARAF-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799918#comment-16799918
 ] 

Jean-Baptiste Onofré commented on KARAF-6207:
---------------------------------------------

I don't consider this as a bug but a mistake in your own: a feature has to be 
*ONLY* in boot, startup or installed (not *AND*).

> bootFeatures sometimes being ignored
> ------------------------------------
>
>                 Key: KARAF-6207
>                 URL: https://issues.apache.org/jira/browse/KARAF-6207
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.2
>            Reporter: Lars Kiesow
>            Priority: Major
>
> According to the documentation, the maven-karaf-plugin will install features 
> listed in the installedFeatures in the "system" internal repository. Features 
> listed in bootFeatures are additionally added to the boot-features in the 
> features service configuration file.
> Hence, the configuration options do not conflict and a configuration like 
> this should result in the features being installed and added to the 
> boot-features configuration:
>  
> {code:java}
> <configuration>
>   <bootFeatures>
>     <feature>foo</feature>
>   </bootFeatures>
>   <installedFeatures>
>     <feature>foo</feature>
>   </installedFeatures>
> </configuration>{code}
>  
>  
> In fact, the configuration should be equivalent to _foo_ being listed just as 
> a bootFeature.
> But what actually happens is that the installedFeature will overwrite the 
> bootFeature and the feature is not added to the boot-features configuration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to