You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/05/05 09:51:41 UTC

[jira] Created: (MNG-2274) error in depth handling of dependency tree

error in depth handling of dependency tree
------------------------------------------

         Key: MNG-2274
         URL: http://jira.codehaus.org/browse/MNG-2274
     Project: Maven 2
        Type: Bug

  Components: Artifacts  
    Versions: 2.0.4    
    Reporter: Brett Porter


see r399960 of the assembly plugin for a pom that showed this

Basically what happened was:
1) maven-archiver brought in plexus-archiver which brought in plexus-container-default (depth 2)
2) plugin-test-harness brought in a newer plexus-container-default (depth 1), scope test
3) newer one is selected, but changes in 2.0.4 means that it keeps the first node and applies the version
4) plexus-archiver (newer version) didn't bring in plexus-container-default, but previous one is disabled, along with its children

we can't shift dependencies here - the setting of the version on the farthest node should be changed so that the nearest one is selected and any dependencies from the farthest one that apply (because of the stronger scope) are dragged in.



-- 
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: (MNG-2274) error in depth handling of dependency tree

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2274?page=all ]

John Casey updated MNG-2274:
----------------------------

    Fix Version: 2.1

> error in depth handling of dependency tree
> ------------------------------------------
>
>          Key: MNG-2274
>          URL: http://jira.codehaus.org/browse/MNG-2274
>      Project: Maven 2
>         Type: Bug

>   Components: Artifacts
>     Versions: 2.0.4
>     Reporter: Brett Porter
>      Fix For: 2.1

>
>
> see r399960 of the assembly plugin for a pom that showed this
> Basically what happened was:
> 1) maven-archiver brought in plexus-archiver which brought in plexus-container-default (depth 2)
> 2) plugin-test-harness brought in a newer plexus-container-default (depth 1), scope test
> 3) newer one is selected, but changes in 2.0.4 means that it keeps the first node and applies the version
> 4) plexus-archiver (newer version) didn't bring in plexus-container-default, but previous one is disabled, along with its children
> we can't shift dependencies here - the setting of the version on the farthest node should be changed so that the nearest one is selected and any dependencies from the farthest one that apply (because of the stronger scope) are dragged in.

-- 
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: (MNG-2274) error in depth handling of dependency tree

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204222#action_204222 ] 

Jason van Zyl commented on MNG-2274:
------------------------------------

Provide a test project, these projects are old and too hard to manually track down. Create a sample project that expresses the problem and reopen.

> error in depth handling of dependency tree
> ------------------------------------------
>
>                 Key: MNG-2274
>                 URL: http://jira.codehaus.org/browse/MNG-2274
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Brett Porter
>             Fix For: 3.x
>
>
> see r399960 of the assembly plugin for a pom that showed this
> Basically what happened was:
> 1) maven-archiver brought in plexus-archiver which brought in plexus-container-default (depth 2)
> 2) plugin-test-harness brought in a newer plexus-container-default (depth 1), scope test
> 3) newer one is selected, but changes in 2.0.4 means that it keeps the first node and applies the version
> 4) plexus-archiver (newer version) didn't bring in plexus-container-default, but previous one is disabled, along with its children
> we can't shift dependencies here - the setting of the version on the farthest node should be changed so that the nearest one is selected and any dependencies from the farthest one that apply (because of the stronger scope) are dragged in.

-- 
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: (MNG-2274) error in depth handling of dependency tree

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2274.
------------------------------

    Resolution: Cannot Reproduce

> error in depth handling of dependency tree
> ------------------------------------------
>
>                 Key: MNG-2274
>                 URL: http://jira.codehaus.org/browse/MNG-2274
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Brett Porter
>             Fix For: 3.x
>
>
> see r399960 of the assembly plugin for a pom that showed this
> Basically what happened was:
> 1) maven-archiver brought in plexus-archiver which brought in plexus-container-default (depth 2)
> 2) plugin-test-harness brought in a newer plexus-container-default (depth 1), scope test
> 3) newer one is selected, but changes in 2.0.4 means that it keeps the first node and applies the version
> 4) plexus-archiver (newer version) didn't bring in plexus-container-default, but previous one is disabled, along with its children
> we can't shift dependencies here - the setting of the version on the farthest node should be changed so that the nearest one is selected and any dependencies from the farthest one that apply (because of the stronger scope) are dragged in.

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