[ http://jira.codehaus.org/browse/MNGECLIPSE-124?page=comments#action_78146 
] 
            
William Ferguson commented on MNGECLIPSE-124:
---------------------------------------------

I still see the issue relating to the embedder not  reading the location of the 
local repository from the M2_HOME/conf/settings.xml (I have a non-default local 
repository to work around a bug in verison 2.2 of the maven-surefire-plugin).

Is any one planning on fixing it?
I've read the discussion  in http://jira.codehaus.org/browse/MNGECLIPSE-116 and 
there seems to be some confusion over how the local repository should be 
determined and/or configured for the plugin.

For mine its
1) If M2_HOME env variable exists, read the values from 
M2_HOME/conf/settings.xml
2)  Else look for ${user.home}/.m2 (create if necessary) and read from 
${user.home}/.m2/settngs.xml

Alternately respect the value of the 'Local Repsotiory Folder' specified in The 
Eclipse preferences page for 'Maven2'. Because at the moment this is ignored 
too. But I think it would be better to read it from the actual Maven config.

> Plugin fail to initialize when default maven repository folder is not 
> available
> -------------------------------------------------------------------------------
>
>                 Key: MNGECLIPSE-124
>                 URL: http://jira.codehaus.org/browse/MNGECLIPSE-124
>             Project: Maven 2.x Extension for Eclipse
>          Issue Type: Bug
>    Affects Versions: 0.0.7
>         Environment: Windows XP Professional SP2
> JSE v1.5.0-06
> Eclipse 3.2RC4
>            Reporter: Douglas WF Acheson
>         Attachments: .log
>
>
> This is this error when I try to go to the Maven2 preferences :
> Plug-in org.maven.ide.eclipse was unable to load class 
> org.maven.ide.eclipse.preferences.Maven2PreferencePage.
> As well, I an not able to associate a project with maven2 when using the RMB 
> context menu for a project .  I get a popup window with the following
> The chosen operation is not currently available

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

        

Reply via email to