Skip to content

Commit c7f784c

Browse files
committed
Test removal of possibly duplicate init of local repository
1 parent 6880fa1 commit c7f784c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
import org.eclipse.core.runtime.jobs.Job;
7070
import org.eclipse.osgi.util.NLS;
7171

72+
import org.codehaus.plexus.component.annotations.Component;
7273
import org.codehaus.plexus.util.dag.CycleDetectedException;
7374

7475
import org.apache.maven.AbstractMavenLifecycleParticipant;
@@ -990,7 +991,7 @@ private MavenExecutionRequest configureExecutionRequest(MavenExecutionRequest re
990991
// eclipse workspace repository implements both workspace dependency resolution
991992
// and inter-module dependency resolution for multi-module projects.
992993

993-
request.setLocalRepository(maven.getLocalRepository());
994+
// request.setLocalRepository(maven.getLocalRepository()); should already be setup?!?
994995
request.setWorkspaceReader(getWorkspaceReader(state, pom, resolverConfiguration));
995996
if(pom != null && pom.getLocation() != null) {
996997
request.setMultiModuleProjectDirectory(

0 commit comments

Comments
 (0)