You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard van der Hoff (JIRA)" <ji...@codehaus.org> on 2007/01/10 14:11:21 UTC
[jira] Updated: (MECLIPSE-151) Incorrect name for test sources jars
[ http://jira.codehaus.org/browse/MECLIPSE-151?page=all ]
Richard van der Hoff updated MECLIPSE-151:
------------------------------------------
Attachment: maven-eclipse-plugin.patch
This also affects version 2.3. Here's a patch, with unit tests, which fixes it.
> Incorrect name for test sources jars
> ------------------------------------
>
> Key: MECLIPSE-151
> URL: http://jira.codehaus.org/browse/MECLIPSE-151
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Richard van der Hoff
> Attachments: maven-eclipse-plugin.patch
>
>
> The eclipse plugin currently sets the source attachment of dependencies on test-jars (as created by the test-jar goal of the jar plugin) to the same as that of the main jar.
> To fix, we need to check the classifier of dependencies when finding sources, and if it is "tests", use "test-sources" rather than "sources" for the classifier on the sources jar.
--
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