[ http://jira.codehaus.org/browse/MNG-1417?page=all ]
     
John Casey closed MNG-1417:
---------------------------

    Resolution: Fixed

cleaned up the debug output a bit, to make sure it doesn't say it's selecting 
both versions...my output now has:

[DEBUG] test:test:jar:1 (selected for null)
[WARNING] While downloading servletapi:servletapi:2.3
  This artifact has been relocated to javax.servlet:servlet-api:2.3.


[DEBUG]   javax.servlet:servlet-api:jar:2.3 (selected for compile)
[DEBUG]   javax.servlet:servlet-api:jar:2.4 (removed - nearer found: 2.3)


> Relocated artifacts hide other versions that should be picked
> -------------------------------------------------------------
>
>          Key: MNG-1417
>          URL: http://jira.codehaus.org/browse/MNG-1417
>      Project: Maven 2
>         Type: Bug
>   Components: Artifacts and Repositories
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0.1

>
> Original Estimate: 2 hours
>        Time Spent: 1 hour
>         Remaining: 0 minutes
>
> The output of mvn -X shows nothing about the servlet-api 2.4
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>test</groupId>
>   <version>1</version>
>   <artifactId>test</artifactId>
>   <dependencies>
>         <dependency>
>             <groupId>javax.servlet</groupId>
>             <artifactId>servlet-api</artifactId>
>             <version>2.4</version>
>         </dependency>
>         <dependency>
>             <groupId>servletapi</groupId>
>             <artifactId>servletapi</artifactId>
>             <version>2.3</version>
>         </dependency>
>   </dependencies>
> </project>
> This is other test that fails
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>test</groupId>
>   <version>1</version>
>   <artifactId>test</artifactId>
>   <dependencies>
>         <dependency>
>             <groupId>javax.servlet</groupId>
>             <artifactId>servlet-api</artifactId>
>             <version>2.4</version>
>         </dependency>
>         <dependency>
>             <groupId>commons-chain</groupId>
>             <artifactId>commons-chain</artifactId>
>             <version>1.0</version>
>         </dependency>
>   </dependencies>
> </project>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to