I just installed the latest version of Eclipse and M2Eclipse pluging from Sonatype and apparently you get an out-of-the-box M2_REPO variable which you can't modify.
So Eclipse gave me warnings that my project was missing the required libraries. The issue was luckily easily resolved by copying the settings.xml from my Maven installation to C:\Documents and Settings\arobpel\.m2
This comment has been removed by the author.
ReplyDeleteHi, Robby.
ReplyDeleteI had the exact same problem.
m2eclipse picks the value of M2_REPO variable from $MAVEN_HOME/conf/settings.xml file using element-
<localRepository>PATH_TO_REPOSITORY</localRepository>
similar, but it actually appends the Eclipse_Home directory before the localRepository path. Better take care of this.
ReplyDelete@Jackie,
DeleteI am facing the same problem. My M2_REPO variable appends the repository path to eclipse path. Were you able to workaround this?
Thanks
This comment has been removed by the author.
ReplyDelete