[ http://jira.codehaus.org/browse/MNG-1417?page=comments#action_50005 ]
Carlos Sanchez commented on MNG-1417:
-------------------------------------
A workaround is exclude the relocated artifacts where used
<dependency>
<groupId>struts</groupId>
<artifactId>struts</artifactId>
<version>1.2.7</version>
<optional/>
<exclusions>
<exclusion>
<groupId>servletapi</groupId>
<artifactId>servletapi</artifactId>
</exclusion>
</exclusions>
</dependency>
> 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
> Versions: 2.0
> Reporter: Carlos Sanchez
> Priority: Critical
> Fix For: 2.0.1
>
>
> 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]