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

ASF GitHub Bot commented on KARAF-4897:
---------------------------------------

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]>

----


> Add an option to simplify bundle dependencies
> ---------------------------------------------
>
>                 Key: KARAF-4897
>                 URL: https://issues.apache.org/jira/browse/KARAF-4897
>             Project: Karaf
>          Issue Type: New Feature
>    Affects Versions: 4.0.8
>            Reporter: Stephen Kitt
>            Priority: Minor
>
> When using GenerateDescriptorMojo to generate feature XML descriptions, it 
> would be nice to have an option to simplify dependencies where possible. By 
> that I mean if feature a depends on feature b and bundle c, and feature b 
> also includes bundle c, then feature a could be simplified to only depend on 
> feature b. (Making this an option allows users to decide what to do — do they 
> want explicit dependencies, or does it make sense for them to ride on the 
> coat-tails of parent features?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to