You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2008/07/26 01:17:26 UTC

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

Bad dependency version 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
    Affects Versions: 2.5.1
            Reporter: Olivier Lamy
            Priority: Critical


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

        

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

Posted by "Bertrand Paquet (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Paquet updated MECLIPSE-472:
-------------------------------------

    Attachment: war_with_implicit_scopes.patch

I have the same problem. This patch works perfectly for me.

> 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
>    Affects Versions: 2.5.1
>            Reporter: Olivier Lamy
>            Assignee: Arnaud Heritier
>            Priority: Critical
>             Fix For: 2.5.2
>
>         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

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156466#action_156466 ] 

Arnaud Heritier commented on MECLIPSE-472:
------------------------------------------

This bug isn't fixed and I cannot apply Bertrand's patch because it will require that you build your project before launching eclipse:eclipse. What I have in mind is to have a look at the code in the dependency:list mojo to try to reuse/recopy it.

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

        

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

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Barrie Treloar updated MECLIPSE-472:
------------------------------------

    Assignee: Barrie Treloar

2.9-SNAPSHOT fixes this.

{noformat}
<classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-component-api/1.0-alpha-20/plexus-component-api-1.0-alpha-20.jar"/>
{noformat}

Can you please give it a try?

> Bad dependencies (version & list) in .classpath whereas compilation (and dependency:tree) use the rigth one 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-472
>                 URL: https://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: Barrie Treloar
>            Priority: Critical
>             Fix For: 2.9
>
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-472:
-------------------------------------

    Summary: Bad dependencies (version & list) in .classpath whereas compilation (and dependency:tree) use the rigth one   (was: Bad dependency version in .classpath whereas compilation (and dependency:tree) use the rigth one )

> 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
>    Affects Versions: 2.5.1
>            Reporter: Olivier Lamy
>            Priority: Critical
>
> 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

        

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

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Barrie Treloar closed MECLIPSE-472.
-----------------------------------

    Resolution: Fixed

> Bad dependencies (version & list) in .classpath whereas compilation (and dependency:tree) use the rigth one 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-472
>                 URL: https://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: Barrie Treloar
>            Priority: Critical
>             Fix For: 2.9
>
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-472:
-------------------------------------

    Fix Version/s: 2.5.2

> 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
>    Affects Versions: 2.5.1
>            Reporter: Olivier Lamy
>            Assignee: Arnaud Heritier
>            Priority: Critical
>             Fix For: 2.5.2
>
>         Attachments: screenshot-1.jpg
>
>
> 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

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167816#action_167816 ] 

Arnaud Heritier commented on MECLIPSE-472:
------------------------------------------

yes, "can't", sorry.
I have to admit that I'm not sure we'll have the necessary change in 2.1. Perhaps later. You can join us on the dev list to discuss about this..

> 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

        

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

Posted by "Stefan Fleiter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167727#action_167727 ] 

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

You meant "can't" in the start of your comment, not "can", right?
Will the issue be fixed for maven 2.1.x and will the eclipse plugin
then use the algorithm form the core if the plugin is run by maven 2.1.x?

> 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

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-472:
-------------------------------------

    Attachment: screenshot-1.jpg

Dependencies are fine with m2eclipse

> 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
>    Affects Versions: 2.5.1
>            Reporter: Olivier Lamy
>            Priority: Critical
>         Attachments: screenshot-1.jpg
>
>
> 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

        

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

Posted by "Stefan Fleiter (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Kristof Van Cleemput (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156465#action_156465 ] 

Kristof Van Cleemput commented on MECLIPSE-472:
-----------------------------------------------

This is a nasty bug and it's already fixed. So when is the release of the eclipse-plugin with bugfixes?

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

        

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

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Barrie Treloar updated MECLIPSE-472:
------------------------------------

    Fix Version/s:     (was: 2.6)
                   2.7

> 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

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143866#action_143866 ] 

Arnaud Heritier commented on MECLIPSE-472:
------------------------------------------

The number of dependencies is also wrong.
For example, we have a project with those dependencies :
{code}
[INFO] [dependency:list]
[INFO] 
[INFO] The following files have been resolved:
[INFO]    com.sun.facelets:jsf-facelets:jar:1.1.14:compile
[INFO]    commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO]    commons-digester:commons-digester:jar:1.8:compile
[INFO]    javax.persistence:persistence-api:jar:1.0:provided
[INFO]    junit:junit:jar:3.8.1:test
[INFO]    org.jboss.el:jboss-el:jar:2.0.1.GA:compile
[INFO]    org.jboss.seam:jboss-seam:jar:2.0.2.SP1:compile
[INFO]    org.jboss.seam:jboss-seam-debug:jar:2.0.2.SP1:compile
[INFO]    org.jboss.seam:jboss-seam-ui:jar:2.0.2.SP1:compile
[INFO]    org.richfaces.framework:richfaces-api:jar:3.1.4.GA:compile
[INFO]    org.richfaces.framework:richfaces-impl:jar:3.1.4.GA:compile
[INFO]    org.richfaces.ui:richfaces-ui:jar:3.1.4.GA:compile
[INFO]    org.testng:testng:jar:jdk15:5.8:test
{code}
The tree of dependencies is :
{code}
[INFO] [dependency:tree]
[INFO] fr.test.seam.archetype.simple:web:war:1.0-SNAPSHOT
[INFO] +- com.sun.facelets:jsf-facelets:jar:1.1.14:compile
[INFO] +- org.richfaces.framework:richfaces-api:jar:3.1.4.GA:compile
[INFO] |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] +- org.richfaces.framework:richfaces-impl:jar:3.1.4.GA:compile
[INFO] |  \- commons-digester:commons-digester:jar:1.8:compile
[INFO] +- org.richfaces.ui:richfaces-ui:jar:3.1.4.GA:compile
[INFO] +- org.jboss.seam:jboss-seam:jar:2.0.2.SP1:compile
[INFO] |  \- org.jboss.el:jboss-el:jar:2.0.1.GA:compile
[INFO] +- org.jboss.seam:jboss-seam-debug:jar:2.0.2.SP1:compile
[INFO] +- org.jboss.seam:jboss-seam-ui:jar:2.0.2.SP1:compile
[INFO] +- javax.persistence:persistence-api:jar:1.0:provided
[INFO] \- org.testng:testng:jar:jdk15:5.8:test
[INFO]    \- junit:junit:jar:3.8.1:test
{code}
But in the .classpath we have :
{code}
<classpath>
  <classpathentry kind="src" path="src/main/java"/>
  <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
  <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
  <classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  <classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar"/>
  <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
  <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/jboss/el/jboss-el/2.0.1.GA/jboss-el-2.0.1.GA.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam/2.0.2.SP1/jboss-seam-2.0.2.SP1.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-debug/2.0.2.SP1/jboss-seam-debug-2.0.2.SP1.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-ui/2.0.2.SP1/jboss-seam-ui-2.0.2.SP1.jar"/>
  <classpathentry kind="var" path="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.jar"/>
  <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-impl/1.2_04-p02/jsf-impl-1.2_04-p02.jar"/>
  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1.jar" sourcepath="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar" sourcepath="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-api/3.1.4.GA/richfaces-api-3.1.4.GA.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-impl/3.1.4.GA/richfaces-impl-3.1.4.GA.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/richfaces/ui/richfaces-ui/3.1.4.GA/richfaces-ui-3.1.4.GA.jar"/>
  <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/testng/testng/5.8/testng-5.8-jdk15.jar"/>
</classpath>
{code}

> Bad dependency version 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
>    Affects Versions: 2.5.1
>            Reporter: Olivier Lamy
>            Priority: Critical
>
> 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

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166728#action_166728 ] 

Arnaud Heritier commented on MECLIPSE-472:
------------------------------------------

Actually in maven 2.0.x, we can reuse the depdency mechanism from the core because there is no possibility to ask to maven to not resolve dependencies in the reactor. If we use the standard resolution mechanism you'll not be able to call an eclipse:eclipse goal if your project cannot be built. We are aware of this issue and are trying to solve it. But in the plugin to keep the compatibilility with 2.0.X we have to find a workaround.

> 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

        

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

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MECLIPSE-472 started by Barrie Treloar.

> Bad dependencies (version & list) in .classpath whereas compilation (and dependency:tree) use the rigth one 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-472
>                 URL: https://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: Barrie Treloar
>            Priority: Critical
>             Fix For: 2.9
>
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-472:
-------------------------------------

    Assignee:     (was: Arnaud Heritier)

> 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
>            Priority: Critical
>             Fix For: 2.8
>
>         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