From 587b2baf2286ce0c6457bcc73a4d7aae84439af9 Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Wed, 8 Sep 2021 11:01:46 +0200 Subject: [PATCH] clarify the getting started documentation when building an uber-jar --- .../quarkus/project/quarkus/base/README.tpl.qute.md | 4 +++- .../QuarkusCodestartGenerationTest/generateDefault/README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/README.tpl.qute.md b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/README.tpl.qute.md index ca98c75e4515c..1ee0f8fef47f3 100644 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/README.tpl.qute.md +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/README.tpl.qute.md @@ -22,12 +22,14 @@ The application can be packaged using: It produces the `quarkus-run.jar` file in the `{buildtool.build-dir}/quarkus-app/` directory. Be aware that it’s not an _über-jar_ as the dependencies are copied into the `{buildtool.build-dir}/quarkus-app/lib/` directory. +The application is now runnable using `java -jar {buildtool.build-dir}/quarkus-app/quarkus-run.jar`. + If you want to build an _über-jar_, execute the following command: ```shell script {buildtool.cli} {buildtool.cmd.package-uber-jar} ``` -The application is now runnable using `java -jar {buildtool.build-dir}/quarkus-app/quarkus-run.jar`. +The application, packaged as an _über-jar_, is now runnable using `java -jar {buildtool.build-dir}/*-runner.jar`. ## Creating a native executable diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/README.md b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/README.md index cc6a46353b6ee..7c5305f7872da 100644 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/README.md +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/README.md @@ -22,12 +22,14 @@ mvn package It produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory. Be aware that it’s not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory. +The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`. + If you want to build an _über-jar_, execute the following command: ```shell script mvn package -Dquarkus.package.type=uber-jar ``` -The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`. +The application, packaged as an _über-jar_, is now runnable using `java -jar target/*-runner.jar`. ## Creating a native executable