I hv this issue in Ubuntu.  When I switch to external maven, it comes with
error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/classworlds/Launcher

I hv configured the installation settings properly, but still get this
error.

On Tue, Jun 10, 2008 at 11:23 AM, Eugene Kuleshov <[EMAIL PROTECTED]> wrote:

>
>  I don't think there is any performance difference between embedded and
> external maven runtime. They both started in separate JVM to prevent memory
> leaks and to provide debugging support.
>
>  Also note that embedded Maven is version 2.1, which still have
> compatibility issues with Maven 2.0.x which you probably using in the
> command line. I would say that currently it is actually a good idea to
> configure external Maven 2.0.x in m2eclipse and use it as default to get the
> same results as
>
>  We are using [mng] tag to mark issues related to Maven core in our JIRA.
> See this JIRA query for complete list of those issues
> http://tinyurl.com/446ff8
>
>  regards,
>  Eugene
>
>
> Mohammed Saleem wrote:
>
>> Thanks for the clarification.  I am thinking of copying my artifactory
>> settings and other stuff from my global settings to my user settings file,
>> so that I can use the embedded version's speed.  Just worried about the
>> maintenance of two settings files.  Is it advisable to just remove the
>> settings file from the conf directory and just have a user based settings
>> file?
>>
>> On Tue, Jun 10, 2008 at 10:51 AM, Eugene Kuleshov <[EMAIL PROTECTED] <mailto:
>> [EMAIL PROTECTED]>> wrote:
>>
>>    Mohammed,
>>
>>     m2eclipse never used M2_HOME environment variable nor system
>>    property. Also note that configuration UI been changed in 0.9.4
>>    release. See
>>
>> http://tinyurl.com/58fs4o#NewandNoteworthy-0.9.4.200806030114%2FJune3%2C2008
>>
>>     In order to use external Maven installation and its settings you
>>    need to register it in Window / Preferences... / Maven /
>>    Installations and set as default. Then its settings will be used
>>    by default.
>>
>>     regards,
>>     Eugene
>>
>>    Mohammed Saleem wrote:
>>
>>        Ah, I understand now.
>>        Even though it doesn't allow me to change it, i think it picks
>>        it up from the default global settings right?  I have seen it
>>        appear in windows, but in Ubuntu it doesn't show up.  I
>>        thought it might be related to M2_HOME, so I added it to both
>>        the linked resource in eclipse as well as my environment file.
>>         It did not show up.  What am I doing wrong here?
>>
>>        On Mon, Jun 9, 2008 at 9:44 AM, Igor Fedorenko
>>        <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>        <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>>
>>           It is not currently possible to change global settings.xml file
>>           used by embedded maven due to
>>           http://jira.codehaus.org/browse/MNG-3611. You can, however,
>>           override all settings you need, including location of local
>>        maven
>>           repository, in user settings.xml file which is configurable in
>>           m2eclipse preferences
>>        (Window->Preferences->Maven->Installations).
>>           Let me know if this does not answer your question.
>>
>>           Mohammed Saleem wrote:
>>
>>                  Hello,
>>
>>                  I upgraded to the new version, and I found this
>>        nifty embedded
>>                  version.  Its pretty fast.
>>                  I wanted to change the global settings and my m2
>>        repository
>>               for it,
>>                  but it wud not allow me to do tht.  What was the
>>        reason to
>>               disable
>>                  tht feature?
>>                  I am using Ubuntu Hardy Heron, btw.
>>
>>                  --    Regards,
>>                  Mohammed Saleem
>>
>>                  "Jack of all trades. Master of some."
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>>           To unsubscribe from this list, please visit:
>>
>>             http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>
>>        --        Regards,
>>        Mohammed Saleem
>>
>>        "Jack of all trades. Master of some."
>>
>>
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe from this list, please visit:
>>
>>      http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>
>> --
>> Regards,
>> Mohammed Saleem
>>
>> "Jack of all trades. Master of some."
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>


-- 
Regards,
Mohammed Saleem

"Jack of all trades. Master of some."

Reply via email to