-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarkus uber/fat jar name not respecting project.build.finalName in version 1.13.(3-7).Final maven plugin, but property quarkus.package.output-name #18316
Comments
/cc @quarkusio/devtools |
@gastaldi perhaps something you'd like to take a look at? |
I'm not entirely sure we want to do that. @stuartwdouglas what's your take on this? Should we honor |
For the uber-jar, I think we should |
Sure, I'll have a look |
Just ran these steps to reproduce that (in 1.13.3.Final and 2.0.0.Final) and it's correct that the Removing the Therefore, I am closing this issue, as this is not a bug. |
Describe the bug
Quarkus uber/fat jar name does not respect project.build.finalName in version 1.13.3.Final Maven plugin; instead, it respects <quarkus.package.output-name> or property quarkus.package.output-name
Expected behavior
When I change property project.build.finalName in my maven pom, I expect fat jar name changes respectively.
Actual behavior
The fat jar name does not change until I change quarkus.package.output-name in application.yaml, or in maven pom.
To Reproduce
Use the "getting-started" example from the doc, and
Steps to reproduce the behavior:
quarkus.package.output-name=package-output-name
in application.properties<build><finalName>finalName</finalName></build>
in pom<quarkus.package.type>uber-jar</quarkus.package.type>
in pom properties partmvn package
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building fat jar: /home/username/Code/getting-started/target/package-output-name-runner.jar
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
ubuntu 18.04
Output of
uname -a
orver
Linux elxag5zs8d3 5.4.0-77-generic #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.18.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.18.04, mixed mode, sharing)
GraalVM version (if different from Java)
Quarkus version or git rev
Tested with
1.13.3.Final
and1.13.7.Final
. The versions in between as well, I guess.Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /opt/maven
Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-77-generic", arch: "amd64", family: "unix"
Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: