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:22:47 UTC

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

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


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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-235.
--------------------------------

    Resolution: Fixed

Ok, this is verified now.

> 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
>            Assignee: John Casey
>             Fix For: 2.2-beta-2
>
>         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

        

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

Posted by "Daniel Siegmann (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-235.
--------------------------------

         Assignee: John Casey
       Resolution: Fixed
    Fix Version/s: 2.2-beta-2

this is already fixed in 2.2-beta-2-SNAPSHOT (trunk), but thanks very much for the test case! It's been incorporated into the standard integration-tests for the assembly plugin.

> 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
>            Assignee: John Casey
>             Fix For: 2.2-beta-2
>
>         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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey reopened MASSEMBLY-235:
----------------------------------


Hmm, I need to re-check my work, as I forgot to add a verify.bsh script to this test case. I'll reopen this until I'm sure about the results.

> 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
>            Assignee: John Casey
>             Fix For: 2.2-beta-2
>
>         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