You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2015/11/23 19:35:11 UTC

[jira] [Created] (FELIX-5115) Embed-Dependency ignores negative clauses

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
(v6.3.4#6332)