Skip to content

Commit

Permalink
implemented .setCurrentProject(project.getBasedir().toString()) into …
Browse files Browse the repository at this point in the history
…MavenArtifactResolver in order to resolve go-offline issue, merged 3 commits to 1
  • Loading branch information
Your Name authored and Noonchi1004 committed Oct 11, 2022
1 parent c7c6eab commit 1fd35f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ private void resolveAppModel(final MavenArtifactResolver resolver, final Artifac
private MavenArtifactResolver getResolver() throws MojoExecutionException {
try {
return MavenArtifactResolver.builder()
.setCurrentProject(project.getBasedir().toString())
.setRemoteRepositoryManager(remoteRepositoryManager)
.setRemoteRepositories(repos)
.setPreferPomsFromWorkspace(true)
Expand Down

0 comments on commit 1fd35f9

Please sign in to comment.