GitHub user skitt opened a pull request:
https://github.com/apache/karaf/pull/274
KARAF-4897 - Add an option to simplify bundle dependencies
This adds a simplifyBundleDependencies option to
GenerateDescriptorMojo, disabled by default, which drops bundle
dependencies from features if the bundles are included in "parent"
features. I.e. if feature A depends on bundle B and feature C, and
feature C also includes bundle B, then feature A will be reduced to
only depend on feature C, relying on the latter to supply bundle B.
Signed-off-by: Stephen Kitt <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/skitt/karaf remove-duplicate-bundles-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/274.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #274
----
commit 9abc418ec281f6ad045709a6e47f0f205a5beadc
Author: Stephen Kitt <[email protected]>
Date: 2016-12-15T09:50:25Z
KARAF-4897 - Add an option to simplify bundle dependencies
This adds a simplifyBundleDependencies option to
GenerateDescriptorMojo, disabled by default, which drops bundle
dependencies from features if the bundles are included in "parent"
features. I.e. if feature A depends on bundle B and feature C, and
feature C also includes bundle B, then feature A will be reduced to
only depend on feature C, relying on the latter to supply bundle B.
Signed-off-by: Stephen Kitt <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---