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] [Commented] (FELIX-5115) Embed-Dependency ignores negative clauses
Date Mon, 23 Nov 2015 18:59:11 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022740#comment-15022740

Stuart McCulloch commented on FELIX-5115:

For now I've worked around this by using the 2.5.3 version of the plugin for that specific
submodule: https://github.com/ops4j/org.ops4j.pax.exam2/commit/b3b4c3ef55c77f4db1f07c0434991c9e9cf3fb28

> 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.0, maven-bundle-plugin-3.0.1
>            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