From 1fd35f99105372876e44497e4a7d7a060845bbc7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 4 Oct 2022 13:31:36 +0200 Subject: [PATCH] implemented .setCurrentProject(project.getBasedir().toString()) into MavenArtifactResolver in order to resolve go-offline issue, merged 3 commits to 1 --- devtools/maven/src/main/java/io/quarkus/maven/GoOfflineMojo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/devtools/maven/src/main/java/io/quarkus/maven/GoOfflineMojo.java b/devtools/maven/src/main/java/io/quarkus/maven/GoOfflineMojo.java index 474b228f56b45..2c82939b41f4b 100644 --- a/devtools/maven/src/main/java/io/quarkus/maven/GoOfflineMojo.java +++ b/devtools/maven/src/main/java/io/quarkus/maven/GoOfflineMojo.java @@ -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)