From 54bc79a4e818ed910aff5cfe7994bf35adaffd3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0irok=C3=BD?= Date: Mon, 25 Jan 2021 19:53:48 +0100 Subject: [PATCH] Align genereated mvn proj version in getting started guide * 'mvn io.quarkus:quarkus-maven-plugin:1.11.0.Final:create' generates 1.0.0-SNAPSHOT --- docs/src/main/asciidoc/getting-started.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/main/asciidoc/getting-started.adoc b/docs/src/main/asciidoc/getting-started.adoc index e86fe8bf8f23a..b3d96e6c7e48a 100644 --- a/docs/src/main/asciidoc/getting-started.adoc +++ b/docs/src/main/asciidoc/getting-started.adoc @@ -201,7 +201,7 @@ Use: `./mvnw compile quarkus:dev`: ---- $ ./mvnw compile quarkus:dev [INFO] --------------------< org.acme:getting-started >--------------------- -[INFO] Building getting-started 1.0-SNAPSHOT +[INFO] Building getting-started 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ getting-started --- @@ -454,12 +454,12 @@ Be sure to read the link:cdi-reference#bean_discovery[Bean Discovery] section of The application is packaged using `./mvnw package`. It produces 2 jar files in `/target`: -* `getting-started-1.0-SNAPSHOT.jar` - containing just the classes and resources of the projects, it's the regular +* `getting-started-1.0.0-SNAPSHOT.jar` - containing just the classes and resources of the projects, it's the regular artifact produced by the Maven build; -* `getting-started-1.0-SNAPSHOT-runner.jar` - being an executable _jar_. Be aware that it's not an _über-jar_ as +* `getting-started-1.0.0-SNAPSHOT-runner.jar` - being an executable _jar_. Be aware that it's not an _über-jar_ as the dependencies are copied into the `target/lib` directory. -You can run the application using: `java -jar target/getting-started-1.0-SNAPSHOT-runner.jar` +You can run the application using: `java -jar target/getting-started-1.0.0-SNAPSHOT-runner.jar` NOTE: The `Class-Path` entry of the `MANIFEST.MF` from the _runner jar_ explicitly lists the jars from the `lib` directory. So if you want to deploy your application somewhere, you need to copy the _runner_ jar as well as the _lib_ directory.