Skip to content

Commit

Permalink
Merge pull request #12700 from gastaldi/uber
Browse files Browse the repository at this point in the history
Fixed uber jar packaging instructions
  • Loading branch information
ia3andy authored Oct 14, 2020
2 parents bb0c099 + 5546f4d commit ecf8d24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ language:
cmd:
dev: mvn compile quarkus:dev
package: mvn package
package-uberjar: mvn package -PuberJar
package-uberjar: mvn package -Dquarkus.package.type=uber-jar
package-native: mvn package -Pnative
package-native-container: mvn package -Pnative -Dquarkus.native.container-build=true
build-ci: mvn verify -B
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ The application can be packaged using:
```
It produces the `{project.artifact-id}-{project.version}-runner.jar` file in the `/{buildtool.build-dir}` directory.
Be aware that it’s not an _über-jar_ as the dependencies are copied into the `{buildtool.build-dir}/lib` directory.
If you want to build an _über-jar_, just add the `--uber-jar` option to the command line:

If you want to build an _über-jar_, execute the following command:
```shell script
{buildtool.cmd.package-uberjar}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ language:
cmd:
dev: ./mvnw compile quarkus:dev
package: ./mvnw package
package-uberjar: ./mvnw package -PuberJar
package-uberjar: ./mvnw package -Dquarkus.package.type=uber-jar
package-native: ./mvnw package -Pnative
package-native-container: ./mvnw package -Pnative -Dquarkus.native.container-build=true
build-ci: ./mvnw verify -B

0 comments on commit ecf8d24

Please sign in to comment.