From c7f784c6dbc7f025c43f727e5ee368a0407d9c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Wed, 14 Feb 2024 08:04:34 +0100 Subject: [PATCH] Test removal of possibly duplicate init of local repository --- .../core/internal/project/registry/ProjectRegistryManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(