<classifier> JAR dependencies ignored
-------------------------------------
Key: MNGECLIPSE-204
URL: http://jira.codehaus.org/browse/MNGECLIPSE-204
Project: Maven 2.x Extension for Eclipse
Issue Type: Bug
Components: Dependency Resolver
Affects Versions: 0.0.9
Reporter: Al Maw
I depend on the tests in one project in another, where I extend them.
If the artifact is not available as another project managed using the plug-in,
the plug-in fails to add the foo-x.y-tests.jar to the classpath container.
To publish the test artifact:
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
To include the artifact in another project:
<dependency>
<!-- [...] -->
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
If you find this hard to reproduce/fathom and require a test case, please add a
comment and I can cook one up for you.
--
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