You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2007/07/04 04:59:13 UTC

[jira] Commented: (MECLIPSE-287) Regression - fails to correctly construct classpath containing dependencies with classifiers

    [ http://jira.codehaus.org/browse/MECLIPSE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101207 ] 

Brian Fox commented on MECLIPSE-287:
------------------------------------

See my comments in MECLIPSE-151 about the tests.

I applied the patches from this issue and MECLIPSE-151 to a branch since I had to rework all the tests to avoid conflicts.
https://svn.apache.org/repos/asf/maven/plugins/branches/maven-eclipse-plugin-151-287

If you can make this work with a patch off of that branch, then we can get it in.

> Regression - fails to correctly construct classpath containing dependencies with classifiers
> --------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-287
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-287
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Max Bowsher
>            Priority: Blocker
>             Fix For: 2.4
>
>         Attachments: test-project-33.patch
>
>
> I have a project that depends on foo-1.0.jar and foo-1.0-tests.jar - i.e., the second is a dependency with a <classifier>tests</classifier>.
> With maven-eclipse-plugin 2.3, both jars are correctly added to the Eclipse .classpath.
> With maven-eclipse-plugin 2.4-SNAPSHOT, only one of the jars is placed on the classpath, resulting in compile failure due to missing classes. Examining the code, it appears that the dependency resolution in AbstractIdeSupportMojo, and the data class IdeDependency, completely ignore the concept of classifier. Thus, the classifier information is discarded in the conversion from Artifact to IdeDependency,

-- 
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