Skip to content

Commit

Permalink
Explicitly include Maven Central in the resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
proksch committed Sep 9, 2023
1 parent b12b47c commit 8295052
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private static Set<ResolutionResult> resolvePom(File f, String artifactRepositor
MavenResolvedArtifactImpl.artifactRepositories = res;
Maven.configureResolver() //
.withClassPathResolution(false) //
.withMavenCentralRepo(true) //
.withRemoteRepo(getRepo(artifactRepository)) //
.loadPomFromFile(f) //
.importDependencies(COMPILE, RUNTIME, PROVIDED, SYSTEM, TEST) //
Expand Down

0 comments on commit 8295052

Please sign in to comment.