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
Regards, Neil Crow. Ian Orford wrote: > > Maven 2.0.9 > maven-eclipse-plugin 2.5.1 > Eclipse 3.4.1 > > Some time ago, my "mvn eclipse:eclipse" commands started misbehaving. I > had been using it for ages previously. > > My repo on my development workstation is in C:\Dev\.m2\repository. > > The .classpath files that are generated when I run "mvn eclipse:eclipse" > on a project include the whole path. For example, one of the entries is: > > <classpathentry kind="var" > > path="M2_REPO/dev/.m2/repository/org/springframework/spring/2.5.1/spring > -2.5.1.jar" > > sourcepath="M2_REPO/dev/.m2/repository/org/springframework/spring/2.5.1/ > spring-2.5.1-sources.jar"/> > > So for this to work, I have to set my M2_REPO variable to just "C:/" and > not the path to the repo. > I'm not sure what I upgraded that caused this behaviour. > > Anyone have any clues? > > Many thanks, > Ian > -- View this message in context: http://www.nabble.com/Mvn-eclipse%3Aeclipse---strange-M2_REPO-settings-tp20541566p21412358.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org