eclipse:add-maven-repo not setting classpathVariable.M2_REPO correctly on
windows
---------------------------------------------------------------------------------
Key: MNG-1433
URL: http://jira.codehaus.org/browse/MNG-1433
Project: Maven 2
Type: Bug
Components: maven-eclipse-plugin
Versions: 2.0
Environment: plugin version:2.0-beta-2
OS: Windows XP SP2
Reporter: Charles Crouch
So I ran
mvn eclipse:add-maven-repo
-Declipse.workspace="C:\usr\app-data\current\eclipse\ws\sandbox"
and got a org.eclipse.jdt.core.prefs file generated, obviously in the wrong
place because of MNG-1344. The contents of the file were
org.eclipse.jdt.core.classpathVariable.M2_REPO=C:\Documents and
Settings\ccrouch\.m2\repository
copying this line into my actual correct org.eclipse.jdt.core.prefs did *not*
produce the M2_REPO class path variable.
It turned out the path needed to be escaped. So the following line worked...
org.eclipse.jdt.core.classpathVariable.M2_REPO=C\:/Documents and
Settings/ccrouch/.m2/repository
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]