test scope does not work with pom dependency
--------------------------------------------
Key: MNG-2975
URL: http://jira.codehaus.org/browse/MNG-2975
Project: Maven 2
Issue Type: Bug
Components: Dependencies
Affects Versions: 2.0.4
Environment: jdk1.5
Reporter: Franck HUGOT
I have a project A with pom packaging (<packaging>pom</packaging>) that use
this dependency :
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-mock</artifactId>
<version>2.0</version>
<scope>test</scope>
</dependency>
In project B , I try to use the project A like a dependency like this :
<dependency>
<groupId>xxx</groupId>
<artifactId>SOFFWK_LIBS</artifactId>
<version>1.0</version>
<type>pom</type>
</dependency>
I don't get the spring-mock transitive dependency when I compile or test
project B.
Is it because it has a test scope?
--
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