You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Max Bowsher (JIRA)" <ji...@codehaus.org> on 2008/04/21 12:38:55 UTC
[jira] Created: (MSHADE-31) When
promoteTransitiveDependencies=true, all are stripped from the
dependency-reduced-pom
When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom
------------------------------------------------------------------------------------------------------
Key: MSHADE-31
URL: http://jira.codehaus.org/browse/MSHADE-31
Project: Maven 2.x Shade Plugin
Issue Type: Bug
Affects Versions: 1.0.1
Environment: Maven 2.0.9, Linux.
Reporter: Max Bowsher
When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSHADE-31) When
promoteTransitiveDependencies=true, all are stripped from the
dependency-reduced-pom
Posted by "Max Bowsher (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHADE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Bowsher updated MSHADE-31:
------------------------------
Attachment: pom.xml
Here is a pom.xml that demonstrates the problem.
In this project, commons-httpclient is depended upon and shaded into the jar, whilst independently, hibernate-annotations is depended upon with an exclusion of hibernate itself.
Run "mvn package", then inspect target/dependency-reduced-pom.xml - the <exclusions> have been stripped out, resulting in unwanted addition of hibernate to the effective resolved dependency set.
If promoteTransitiveDependencies is turned off, this bug does not occur.
> When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom
> ------------------------------------------------------------------------------------------------------
>
> Key: MSHADE-31
> URL: http://jira.codehaus.org/browse/MSHADE-31
> Project: Maven 2.x Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.0.1
> Environment: Maven 2.0.9, Linux.
> Reporter: Max Bowsher
> Attachments: pom.xml
>
>
> When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSHADE-31) When
promoteTransitiveDependencies=true, all are stripped from the
dependency-reduced-pom
Posted by "Max Bowsher (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHADE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131574#action_131574 ]
Max Bowsher commented on MSHADE-31:
-----------------------------------
Oops, I managed to upload the pom.xml with <promoteTransitiveDependencies>false</promoteTransitiveDependencies>, change that to true to reproduce the problem.
> When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom
> ------------------------------------------------------------------------------------------------------
>
> Key: MSHADE-31
> URL: http://jira.codehaus.org/browse/MSHADE-31
> Project: Maven 2.x Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.0.1
> Environment: Maven 2.0.9, Linux.
> Reporter: Max Bowsher
> Attachments: pom.xml
>
>
> When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MSHADE-31) When promoteTransitiveDependencies=true,
all are stripped from the dependency-reduced-pom
Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHADE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp closed MSHADE-31.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.1
> When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom
> ------------------------------------------------------------------------------------------------------
>
> Key: MSHADE-31
> URL: http://jira.codehaus.org/browse/MSHADE-31
> Project: Maven 2.x Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.0.1
> Environment: Maven 2.0.9, Linux.
> Reporter: Max Bowsher
> Assignee: Daniel Kulp
> Fix For: 1.1
>
> Attachments: pom.xml
>
>
> When promoteTransitiveDependencies=true, all <exclusions> are stripped from the dependency-reduced-pom.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira