felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5115) Embed-Dependency ignores negative clauses
Date Mon, 23 Nov 2015 18:35:11 GMT
Stuart McCulloch created FELIX-5115:

             Summary: Embed-Dependency ignores negative clauses
                 Key: FELIX-5115
                 URL: https://issues.apache.org/jira/browse/FELIX-5115
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-3.0.1, maven-bundle-plugin-3.0.0
            Reporter: Stuart McCulloch

Checkout https://github.com/ops4j/org.ops4j.pax.exam2/commit/50cffc617783223462735cd8f212cdab4b1fb867
and build the core/pax-exam-container-rbc project. Notice how the final bundle incorrectly
embeds the slf4j-api dependency even though the instructions in 'osgi.bnd' use a negative
clause to exclude that dependency.

Edit the maven-bundle-plugin entry in 'core/pax-exam-container-rbc/pom.xml' to use version
2.5.3 of the plugin and rebuild the project. Notice that the final bundle no longer embeds
slf4j-api. This is the expected behaviour which appears to have regressed in 3.0.0, possibly
via the fix for FELIX-3565

This message was sent by Atlassian JIRA

View raw message