You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Fleiter (JIRA)" <ji...@codehaus.org> on 2009/02/23 13:25:19 UTC

[jira] Commented: (MECLIPSE-472) Bad dependencies (version & list) in .classpath whereas compilation (and dependency:tree) use the rigth one

    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166723#action_166723 ] 

Stefan Fleiter commented on MECLIPSE-472:
-----------------------------------------

I'm sorry to have to say that but if dependency resolution which in my opinion should the core of maven does not get implemented there once but gets copied between all the plugins depending on it then maven has failed.

Reuse is one othe the basics of software engineering.
Copying the code for dependency resolution is the source of the problem and not the answer.


> Bad dependencies (version & list) in .classpath whereas compilation (and dependency:tree) use the rigth one 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-472
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-472
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path (.classpath)
>    Affects Versions: 2.5.1
>            Reporter: Olivier Lamy
>            Assignee: Arnaud Heritier
>            Priority: Critical
>             Fix For: 2.7
>
>         Attachments: screenshot-1.jpg, war_with_implicit_scopes.patch
>
>
> Maven compilation and dependency:tree display org/codehaus/plexus/plexus-component-api/1.0-alpha-20/plexus-component-api-1.0-alpha-20
> Whereas the generated .classpath contains <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar"/>
> Related continuum dev email http://continuum.markmail.org/message/6eiyt6vgdqycc4hm?q=
> Step to reproduce :
> {code}
>  svn co -r679899 https://svn.apache.org/repos/asf/continuum/trunk continuum && cd continuum && mvn eclipse:eclipse &&grep plexus-compone continuum-core/.classpath
> .....
>   <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar"/>
> {code}

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