[ http://jira.codehaus.org/browse/MECLIPSE-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160687#action_160687 ]
Neil Crow commented on MECLIPSE-408: ------------------------------------ I am experiencing this too, and I found a jira for this issue which was closed but I think should be reopened. http://jira.codehaus.org/browse/MECLIPSE-408 my setting: winXP Maven-2.0.9 maven-eclipse-plugin-2.5.14 eclipse-3.4.0 m2eclipse-plugin-0.9.6.20080905-0917 Regards, Neil Crow. See discussion on user mailing list http://www.nabble.com/Mvn-eclipse%3Aeclipse---strange-M2_REPO-settings-tt20541566.html > eclipse:eclipse creates a .classpath containing the M2_REPO variable followed > by the expanded value of the variable > ------------------------------------------------------------------------------------------------------------------- > > Key: MECLIPSE-408 > URL: http://jira.codehaus.org/browse/MECLIPSE-408 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Environment: MS Windows XP, + cygwin > Reporter: Gus Mancuso > Attachments: Copy of pom.xml, parentPom.xml, settings.xml > > > Using maven 2.0.8, and eclipse plugin (version 2.4 or 2.5). When I run mvn > eclipse:eclipse the .classpath that gets generated is invalid. My M2_REPO > variable is set to /var/maven and the classpath entries for dependencies look > like : > <classpathentry kind="var" > path="M2_REPO/var/maven/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/> > where > <classpathentry kind="var" > path="M2_REPO/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/> > would be the correct entry. > Things about my environment that may be affecting this: > * I run maven from a cygwin bash prompt. > * /var/maven is a symlink to /cygdrive/c/var/maven > * MAVEN_HOME is C:\opt\maven-2.0.8 > settings.xml and pom.xml for the affected project is included. It should be > noted that some other projects on the same machine seem to work fine, but > others dont. I don't see any -- 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