[ http://jira.codehaus.org/browse/MNG-2203?page=all ]

Maria Odea Ching updated MNG-2203:
----------------------------------

    Attachment: MNG-2203-maven.patch

Attached patch file for this issue.
The modules that were changed are maven-core and maven-project. When a 
duplicate dependency is found in the pom, it will be logged in the console and 
the most recent version of the dependency will be used for the project.

> Problem with duplicates
> -----------------------
>
>                 Key: MNG-2203
>                 URL: http://jira.codehaus.org/browse/MNG-2203
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.1, 2.0.3
>         Environment: Windows XP SP 2 - JDK 1.5.06 - Maven 2.1-SNAPSHOT 
>            Reporter: Francesco Tinti
>         Assigned To: Maria Odea Ching
>             Fix For: 2.0.5
>
>         Attachments: MNG-2203-maven.patch, pomerr.zip
>
>          Time Spent: 1 day, 30 minutes
>  Remaining Estimate: 0 minutes
>
> Declare in POM a duplicate group-artifact dependency but with different 
> versions.: there's no log of duplicate entry.
> Maven will also take care only of the latest dependency, so if the version is 
> ancient of the other, you can obtain (of course) compilation error.
> In attachment a simple demonstration with a specific commons-io 1.2 function.

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

        

Reply via email to