Skip to content

Commit

Permalink
Test removal of possibly duplicate init of local repository
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Feb 14, 2024
1 parent 6880fa1 commit c7f784c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit c7f784c

Please sign in to comment.