maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-287) Regression - fails to correctly construct classpath containing dependencies with classifiers
Date Thu, 28 Jun 2007 12:45:13 GMT

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

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

Max, any chance you can provide a test pom or better, an integration test?

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

        

Mime
View raw message