You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ben Caradoc-Davies <Be...@csiro.au> on 2009/06/16 08:08:39 UTC

[maven-eclipse-plugin]: MECLIPSE-548 requires attention

MECLIPSE-548 is a showstopper for many projects that would otherwise use
maven-eclipse-plugin. I suspect many projects using the plugin are now
pinned to 2.5. This issue is marked as Critical priority, has six votes
and four watchers. Can anyone take at look at this issue? If you do not 
intend to address this issue, or cannot address it at this time, please 
comment on it to explain the situation.

Kind regards,
Ben.


-------- Original Message --------
Subject: [jira] Commented: (MECLIPSE-548) MECLIPSE-442 should be
reverted. Classpath container entries should come before 3rd party jars
in .classpath
Date: Tue, 16 Jun 2009 01:25:42 +0800
From: Joe Freeman (JIRA) <ji...@codehaus.org>
To: Caradoc-Davies, Ben (E&M, Kensington) <Be...@csiro.au>


     [
http://jira.codehaus.org/browse/MECLIPSE-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180352#action_180352 

]

Joe Freeman commented on MECLIPSE-548:
--------------------------------------

How many votes does this have to have before it makes a release.
Version 2.7 just came out and it still has the same incorrect classpath
ordering for the JDK/JRE :-(

> MECLIPSE-442 should be reverted. Classpath container entries should come before 3rd party jars in .classpath
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-548
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-548
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path (.classpath)
>    Affects Versions: 2.6
>         Environment: all
>            Reporter: Joe Freeman
>            Priority: Critical
>
> A patch was accepted into maven 2.6 as part of jira  	 MECLIPSE-442  that configures eclipse to compile with a different order than the jre will load with.  This patch moved the container classpaths to the end of the classpath in eclipse.  This behavior is incorrect.  The JRE's jar files should come before any 3rd party libraries on the classpath because those classes will be loaded before any of the 3rd party jars and because the JRE's classes cannot be overridden by classes in a 3rd party jar.  
> I understand why MECLIPSE-442 wanted to reverse the order so they could pick up the properties files. The best way to do this was to create properties files in the indvidual projects if he needed at run time or in the test/resources directory if it was only needed for unit  testing. project resources come before everything in eclipse
> With this patch added to maven 2.6, we have a situation where eclipse tells us we have compiler error when maven command line compilations do not.  

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




-- 
Ben Caradoc-Davies <Be...@csiro.au>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [maven-eclipse-plugin]: MECLIPSE-548 requires attention

Posted by Arnaud HERITIER <ah...@gmail.com>.
We asked several times to test the 2.7-SNAPSHOT before the release and we
had no feedback about this issue which wasn't solved. Thus I don't know if
it impacts so many projects.We'll try to fix it in 2.8, but I don't know in
how many weeks/monthes, we'll be able to do it

Cheers


Cheers,

Arnaud

# Arnaud Héritier
# http://blog.aheritier.net


On Tue, Jun 16, 2009 at 8:08 AM, Ben Caradoc-Davies
<Be...@csiro.au> wrote:

> MECLIPSE-548 is a showstopper for many projects that would otherwise use
> maven-eclipse-plugin. I suspect many projects using the plugin are now
> pinned to 2.5. This issue is marked as Critical priority, has six votes
> and four watchers. Can anyone take at look at this issue? If you do not
> intend to address this issue, or cannot address it at this time, please
> comment on it to explain the situation.
>
> Kind regards,
> Ben.
>
>
> -------- Original Message --------
> Subject: [jira] Commented: (MECLIPSE-548) MECLIPSE-442 should be
> reverted. Classpath container entries should come before 3rd party jars
> in .classpath
> Date: Tue, 16 Jun 2009 01:25:42 +0800
> From: Joe Freeman (JIRA) <ji...@codehaus.org>
> To: Caradoc-Davies, Ben (E&M, Kensington) <Be...@csiro.au>
>
>
>    [
>
> http://jira.codehaus.org/browse/MECLIPSE-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180352#action_180352
> ]
>
> Joe Freeman commented on MECLIPSE-548:
> --------------------------------------
>
> How many votes does this have to have before it makes a release.
> Version 2.7 just came out and it still has the same incorrect classpath
> ordering for the JDK/JRE :-(
>
>  MECLIPSE-442 should be reverted. Classpath container entries should come
>> before 3rd party jars in .classpath
>>
>> ------------------------------------------------------------------------------------------------------------
>>
>>                Key: MECLIPSE-548
>>                URL: http://jira.codehaus.org/browse/MECLIPSE-548
>>            Project: Maven 2.x Eclipse Plugin
>>         Issue Type: Bug
>>         Components: Core : Dependencies resolution and build path
>> (.classpath)
>>   Affects Versions: 2.6
>>        Environment: all
>>           Reporter: Joe Freeman
>>           Priority: Critical
>>
>> A patch was accepted into maven 2.6 as part of jira      MECLIPSE-442
>>  that configures eclipse to compile with a different order than the jre will
>> load with.  This patch moved the container classpaths to the end of the
>> classpath in eclipse.  This behavior is incorrect.  The JRE's jar files
>> should come before any 3rd party libraries on the classpath because those
>> classes will be loaded before any of the 3rd party jars and because the
>> JRE's classes cannot be overridden by classes in a 3rd party jar.  I
>> understand why MECLIPSE-442 wanted to reverse the order so they could pick
>> up the properties files. The best way to do this was to create properties
>> files in the indvidual projects if he needed at run time or in the
>> test/resources directory if it was only needed for unit  testing. project
>> resources come before everything in eclipse
>> With this patch added to maven 2.6, we have a situation where eclipse
>> tells us we have compiler error when maven command line compilations do not.
>>
>>
>
> --
> 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
>
>
>
>
> --
> Ben Caradoc-Davies <Be...@csiro.au>
> Software Engineer, CSIRO Exploration and Mining
> Australian Resources Research Centre
> 26 Dick Perry Ave, Kensington WA 6151, Australia
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>