Skip to content

Commit

Permalink
Merge pull request quarkusio#34440 from aloubyansky/attach-renamed-jar
Browse files Browse the repository at this point in the history
Attach renamed original JAR to the Maven project to keep install plugin working
  • Loading branch information
aloubyansky authored Jun 30, 2023
2 parents ca78a15 + 4d59694 commit 7029323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/maven/src/main/java/io/quarkus/maven/BuildMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ && isNativeProfileEnabled(mavenProject())) {
} catch (IOException e) {
throw new UncheckedIOException(e);
}
original.setFile(result.getJar().getOriginalArtifact().toFile());
// unless we point to the renamed file the install plugin will fail
original.setFile(renamedOriginal.toFile());
}
}
if (uberJarWithSuffix) {
Expand Down

0 comments on commit 7029323

Please sign in to comment.