Skip to content

Commit

Permalink
Remove duplicate initialization of local repository
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
laeubi committed Feb 14, 2024
1 parent 6880fa1 commit f201544
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -989,8 +989,6 @@ 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.setWorkspaceReader(getWorkspaceReader(state, pom, resolverConfiguration));
if(pom != null && pom.getLocation() != null) {
request.setMultiModuleProjectDirectory(
Expand Down

0 comments on commit f201544

Please sign in to comment.