You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/23 23:54:00 UTC
[jira] [Commented] (KARAF-6207) bootFeatures sometimes being
ignored
[ https://issues.apache.org/jira/browse/KARAF-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799857#comment-16799857 ]
ASF GitHub Bot commented on KARAF-6207:
---------------------------------------
lkiesow commented on pull request #791: KARAF-6207, bootFeatures sometimes being ignored
URL: https://github.com/apache/karaf/pull/791
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:
<configuration>
<bootFeatures>
<feature>foo</feature>
</bootFeatures>
<installedFeatures>
<feature>foo</feature>
</installedFeatures>
</configuration>
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 patch switches the handling of bootFeatures and installedFeatures
which makes a feature configured in both sections a bootFeature,
adhering to the specifications of both configurations.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> 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)