diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java index 6af2f12ff6..1bd247f86f 100644 --- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java +++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java @@ -69,6 +69,7 @@ import org.eclipse.core.runtime.jobs.Job; import org.eclipse.osgi.util.NLS; +import org.codehaus.plexus.component.annotations.Component; import org.codehaus.plexus.util.dag.CycleDetectedException; import org.apache.maven.AbstractMavenLifecycleParticipant; @@ -990,7 +991,7 @@ private MavenExecutionRequest configureExecutionRequest(MavenExecutionRequest re // eclipse workspace repository implements both workspace dependency resolution // and inter-module dependency resolution for multi-module projects. - request.setLocalRepository(maven.getLocalRepository()); +// request.setLocalRepository(maven.getLocalRepository()); should already be setup?!? request.setWorkspaceReader(getWorkspaceReader(state, pom, resolverConfiguration)); if(pom != null && pom.getLocation() != null) { request.setMultiModuleProjectDirectory(