[
https://issues.apache.org/jira/browse/KARAF-7799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806738#comment-17806738
]
Grzegorz Grzybek commented on KARAF-7799:
-----------------------------------------
When building custom Karaf distro with KARs and karaf-maven-plugin:
* the KAR may provide {{etc/org.apache.karaf.features.xml}} definition
* karaf-maven-plugin may define {{<featuresProcessing>}} option to specify
custom {{org.apache.karaf.features.xml}}
* but we can't have both.
The build log shows for example:
{noformat}
[INFO] Found existing features processor configuration:
etc/org.apache.karaf.features.xml
[WARNING] Explicitly configured
../../src/main/resources/org.apache.karaf.features.xml will be used for
features processor configuration.
{noformat}
It'd be nice if we can merge two definitions.
I have a PR that simply results in this:
{noformat}
[INFO] Found existing features processor configuration:
etc/org.apache.karaf.features.xml
[INFO] Found additional features processor configuration:
../../src/main/resources/org.apache.karaf.features.xml
{noformat}
> Allow merging org.apache.karaf.features.xml definitions
> -------------------------------------------------------
>
> Key: KARAF-7799
> URL: https://issues.apache.org/jira/browse/KARAF-7799
> Project: Karaf
> Issue Type: Improvement
> Reporter: Grzegorz Grzybek
> Assignee: Grzegorz Grzybek
> Priority: Major
> Fix For: 4.5.0, 4.4.6
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)