Skip to content

Commit 731b302

Browse files
committed
Remove duplicate initialization of local repository
Currently the local repository is always overridden from the initial setup in MavenExecutionContext this not only adds additional runtime overhead but also makes the settings obsolete.
1 parent 6880fa1 commit 731b302

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,8 +989,6 @@ private MavenExecutionRequest configureExecutionRequest(MavenExecutionRequest re
989989

990990
// eclipse workspace repository implements both workspace dependency resolution
991991
// and inter-module dependency resolution for multi-module projects.
992-
993-
request.setLocalRepository(maven.getLocalRepository());
994992
request.setWorkspaceReader(getWorkspaceReader(state, pom, resolverConfiguration));
995993
if(pom != null && pom.getLocation() != null) {
996994
request.setMultiModuleProjectDirectory(

0 commit comments

Comments
 (0)