localRepository settings misinterpreted for local settings.xml
-------------------------------------------------------------- Key: MNGECLIPSE-556 URL: http://jira.codehaus.org/browse/MNGECLIPSE-556 Project: Maven Integration for Eclipse Issue Type: Bug Affects Versions: 0.9.2 Environment: Windows XP, Maven 2.0.7, Eclipse 3.3.2 settings.xml in %USERPROFILE%\.m2 directory Reporter: Hayo The local repository was set as follows <localRepository>${user.home}/.m2/repository</localRepository> which is documented as the default to do. When i run "mvn eclipse:eclipse" Maven2 produces entries in .classpath which all contain a superflouous .m2/repository. E.g. <classpathentry kind="var" path="M2_REPO/.m2/repository/javamail/activation/1.4.1/activation-1.4.1.jar"/> Of course, the project will not compile under Eclipse. In a second project i have additionally set this file as the global settings.xml in the Sonatype Maven Integration. In that case, when i run the maven scripts from inside Eclipse, the problem does not appear. -- 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 from this list, please visit: http://xircles.codehaus.org/manage_email |
[ http://jira.codehaus.org/browse/MNGECLIPSE-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Fedorenko closed MNGECLIPSE-556. ------------------------------------- Resolution: Cannot Reproduce I believe problems with eclipse:eclipse (a.k.a maven-eclipse-plugin) should be reported here http://jira.codehaus.org/browse/MECLIPSE. Closing this issues because m2eclipse reported to work as expected. Please reopen this issue with m2eclipse does not properly handle <localRepository>. > localRepository settings misinterpreted for local settings.xml > -------------------------------------------------------------- > > Key: MNGECLIPSE-556 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-556 > Project: Maven Integration for Eclipse > Issue Type: Bug > Affects Versions: 0.9.2 > Environment: Windows XP, Maven 2.0.7, Eclipse 3.3.2 > settings.xml in %USERPROFILE%\.m2 directory > Reporter: Hayo > > The local repository was set as follows > <localRepository>${user.home}/.m2/repository</localRepository> > which is documented as the default to do. > When i run "mvn eclipse:eclipse" Maven2 produces entries in .classpath which all contain a superflouous .m2/repository. E.g. > <classpathentry kind="var" path="M2_REPO/.m2/repository/javamail/activation/1.4.1/activation-1.4.1.jar"/> > Of course, the project will not compile under Eclipse. > In a second project i have additionally set this file as the global settings.xml in the Sonatype Maven Integration. In that case, when i run the maven scripts from inside Eclipse, the problem does not appear. -- 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 from this list, please visit: http://xircles.codehaus.org/manage_email |
Free forum by Nabble | Edit this page |