From 9f5fc10db0e883ac78d188af441e32eb5540617e Mon Sep 17 00:00:00 2001 From: Jorge Pinto Date: Thu, 19 Dec 2024 10:53:35 -0500 Subject: [PATCH 1/4] Update Quarkus Parameter for Disabling Uber-JAR File Name Suffix --- docs/src/main/asciidoc/maven-tooling.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/maven-tooling.adoc b/docs/src/main/asciidoc/maven-tooling.adoc index 67d7578f40f22..c4a932af0312b 100644 --- a/docs/src/main/asciidoc/maven-tooling.adoc +++ b/docs/src/main/asciidoc/maven-tooling.adoc @@ -653,7 +653,7 @@ Uber-Jar's final name is configurable via a Maven's build settings `finalName` o ==== Uber-Jar file name suffix By default the generated uber JAR file name will have the `-runner` suffix, unless it was overridden by configuring a custom one with `quarkus.package.runner-suffix` configuration option. -If the runner suffix is not desired, it can be disabled by setting `quarkus.package.jar.add-runner-suffix` configuration option to `false`, in which case the uber JAR will replace the original JAR +If the runner suffix is not desired, it can be disabled by setting `quarkus.package.add-runner-suffix` configuration option to `false`, in which case the uber JAR will replace the original JAR file generated by `maven-jar-plugin` for the application module. ==== Attaching Uber-Jar file as the main project artifact @@ -661,7 +661,7 @@ file generated by `maven-jar-plugin` for the application module. As long as an Uber-Jar file name is created by appending a suffix, such as `runner`, to the original project JAR file name, the Uber-Jar file name suffix will also be used as the Maven artifact classifier for the Uber-Jar artifact. There are two ways to attach an Uber-Jar as the main project artifact (without the classifier): -1. set `quarkus.package.jar.add-runner-suffix=false`, which will disable the addition of the file name suffix and, by doing that, will replace the original project JAR on the file system; +1. set `quarkus.package.add-runner-suffix=false`, which will disable the addition of the file name suffix and, by doing that, will replace the original project JAR on the file system; 2. set `attachRunnerAsMainArtifact` parameter of the `quarkus:build` goal to `true`. [[multi-module-maven]] From 1a9abdb917f9f1ab8e4217eba62726224ca16fa6 Mon Sep 17 00:00:00 2001 From: Jorge Pinto Date: Thu, 19 Dec 2024 14:20:42 -0500 Subject: [PATCH 2/4] Update maven-tooling.adoc --- docs/src/main/asciidoc/maven-tooling.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/maven-tooling.adoc b/docs/src/main/asciidoc/maven-tooling.adoc index c4a932af0312b..f6474ea77db21 100644 --- a/docs/src/main/asciidoc/maven-tooling.adoc +++ b/docs/src/main/asciidoc/maven-tooling.adoc @@ -652,7 +652,7 @@ Uber-Jar's final name is configurable via a Maven's build settings `finalName` o ==== Uber-Jar file name suffix -By default the generated uber JAR file name will have the `-runner` suffix, unless it was overridden by configuring a custom one with `quarkus.package.runner-suffix` configuration option. +By default the generated uber JAR file name will have the `-runner` suffix, unless it was overridden by configuring a custom one with `quarkus.package.jar.runner-suffix` configuration option. If the runner suffix is not desired, it can be disabled by setting `quarkus.package.add-runner-suffix` configuration option to `false`, in which case the uber JAR will replace the original JAR file generated by `maven-jar-plugin` for the application module. @@ -661,7 +661,7 @@ file generated by `maven-jar-plugin` for the application module. As long as an Uber-Jar file name is created by appending a suffix, such as `runner`, to the original project JAR file name, the Uber-Jar file name suffix will also be used as the Maven artifact classifier for the Uber-Jar artifact. There are two ways to attach an Uber-Jar as the main project artifact (without the classifier): -1. set `quarkus.package.add-runner-suffix=false`, which will disable the addition of the file name suffix and, by doing that, will replace the original project JAR on the file system; +1. set `quarkus.package.jar.add-runner-suffix=false`, which will disable the addition of the file name suffix and, by doing that, will replace the original project JAR on the file system; 2. set `attachRunnerAsMainArtifact` parameter of the `quarkus:build` goal to `true`. [[multi-module-maven]] From 442b5eff2f14718cd126f6c3b71b0dd0bd1c6afb Mon Sep 17 00:00:00 2001 From: Jorge Pinto Date: Mon, 23 Dec 2024 10:33:25 -0500 Subject: [PATCH 3/4] Update maven-tooling.adoc --- docs/src/main/asciidoc/maven-tooling.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/maven-tooling.adoc b/docs/src/main/asciidoc/maven-tooling.adoc index f6474ea77db21..d334224fc0665 100644 --- a/docs/src/main/asciidoc/maven-tooling.adoc +++ b/docs/src/main/asciidoc/maven-tooling.adoc @@ -653,7 +653,7 @@ Uber-Jar's final name is configurable via a Maven's build settings `finalName` o ==== Uber-Jar file name suffix By default the generated uber JAR file name will have the `-runner` suffix, unless it was overridden by configuring a custom one with `quarkus.package.jar.runner-suffix` configuration option. -If the runner suffix is not desired, it can be disabled by setting `quarkus.package.add-runner-suffix` configuration option to `false`, in which case the uber JAR will replace the original JAR +If the runner suffix is not desired, it can be disabled by setting `quarkus.package.jar.add-runner-suffix` configuration option to `false`, in which case the uber JAR will replace the original JAR file generated by `maven-jar-plugin` for the application module. ==== Attaching Uber-Jar file as the main project artifact From 97f3eb24fc3e46178b550ffb453f364a7d34aa4d Mon Sep 17 00:00:00 2001 From: Jorge Pinto Date: Mon, 23 Dec 2024 16:40:08 +0000 Subject: [PATCH 4/4] Fixed typo --- docs/src/main/asciidoc/getting-started-reactive.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/getting-started-reactive.adoc b/docs/src/main/asciidoc/getting-started-reactive.adoc index f5b67fa360de3..76769f42c7ab3 100644 --- a/docs/src/main/asciidoc/getting-started-reactive.adoc +++ b/docs/src/main/asciidoc/getting-started-reactive.adoc @@ -36,7 +36,7 @@ include::{includes}/prerequisites.adoc[] NOTE: Verify that Maven is using the Java version you expect. If you have multiple JDKs installed, make sure Maven is using the expected one. -You can verify which JDK Maven uses by running `mvn --version.` +You can verify which JDK Maven uses by running `mvn --version`. == Imperative vs. Reactive: a question of threads