Lars Kiesow created KARAF-6207:
----------------------------------

             Summary: 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


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