You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Siegmann (JIRA)" <ji...@codehaus.org> on 2007/08/23 21:26:47 UTC

[jira] Updated: (MASSEMBLY-235) dependencySet ignores dependency management

     [ http://jira.codehaus.org/browse/MASSEMBLY-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Siegmann updated MASSEMBLY-235:
--------------------------------------

    Attachment: MASSEMBLY-235-test.zip

Here is a simple test project which will reveal the bug. Note that the dependency xmlwriter will bring in xmlenc 0.39. This version is not available in the public repositories, so we use dependency management to select xmlenc 0.52.

Unfortunately, the assembly will attempt to resolve version 0.39, causing the build to fail.

> dependencySet ignores dependency management
> -------------------------------------------
>
>                 Key: MASSEMBLY-235
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-235
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Daniel Siegmann
>         Attachments: MASSEMBLY-235-test.zip
>
>
> When a transitive dependency is set to a different version in dependencyManagement, the change is ignored when running assembly:assembly. The original artifact version will be resolved.

-- 
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