[ http://jira.codehaus.org/browse/MNGECLIPSE-116?page=comments#action_70956 ] Wolfgang S commented on MNGECLIPSE-116: ---------------------------------------
Thank you Ovidio Mallo. > Hope applying the patch does the trick for you! I have had applied the patch. This was not the problem. But I was an maven newbie. So checking and repairing my maven-2 installation did the trick for me. :-) I do not remember the problem in detail - maybe a missing environment variable. - sorry for inconvenience - > Embedder can't find local repository > ------------------------------------ > > Key: MNGECLIPSE-116 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-116 > Project: Maven 2.x Extension for Eclipse > Issue Type: Bug > Affects Versions: 0.0.7 > Environment: WinXP, Eclipse 3.1.2, Maven2.0.4 > Reporter: Cliff Resnick > Assigned To: Eugene Kuleshov > Attachments: 20060526_MNGECLIPSE-116_trunk.patch, > 20060529_MNGECLIPSE-116_trunk.patch, maven-embedder-2.0.4_fixed-dep.jar > > > I upgraded from 0.0.5 to 0.0.7 and the plugin fails to load. > Below is output from the workspace log file: > java.lang.IllegalArgumentException: When not aligning with a user install you > must specify a local repository location using the > setLocalRepositoryDirectory( File ) method. > at > org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:699) > at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628) > at > org.maven.ide.eclipse.Maven2Plugin.createEmbedder(Maven2Plugin.java:267) > at > org.maven.ide.eclipse.Maven2Plugin.getMavenEmbedder(Maven2Plugin.java:155) > at > org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:165) > at org.maven.ide.eclipse.Maven2Plugin.start(Maven2Plugin.java:112) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994) > at java.security.AccessController.doPrivileged(Native Method) > .... -- 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