You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/11/23 02:13:06 UTC

[jira] Updated: (MNG-1417) Relocated artifacts hide other versions that should be picked

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

John Casey updated MNG-1417:
----------------------------

             Component: maven-artifact
            Complexity: Expert  (was: Intermediate)
    Remaining Estimate: 2 hours
     Original Estimate: 2 hours

something in the recurse() method of the DefaultArtifactCollector is failing to compare the dependencies by depth when one has been relocated. I'll hook up the debugger and see what I can see.

> 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: maven-artifact
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0.1

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org