A. J. David Bosschaert created SLING-9136:
---------------------------------------------

             Summary: Provide a Mojo that can check if there is overlap between 
exports from different feature models
                 Key: SLING-9136
                 URL: https://issues.apache.org/jira/browse/SLING-9136
             Project: Sling
          Issue Type: New Feature
          Components: Feature Model, Maven Plugins and Archetypes
    Affects Versions: slingfeature-maven-plugin 1.1.14
            Reporter: A. J. David Bosschaert
            Assignee: A. J. David Bosschaert
             Fix For: slingfeature-maven-plugin 1.1.16


Create a new Mojo that takes 2 (or more) feature models as input. For each 
feature model it will construct a list of exported packages for all regions 
requested. If the feature model does not opt-in to the API Regions mechanism, 
all exported packages from all bundles in that feature will be added to the 
global region.

Then it will produce an error if there is any package in the intersection of 
the exported package lists.

We need to add additional configuration that lists packages
 * to be ignored completely
 * to produce a warning instead of an error if it appears in the intersection



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to