mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
generate jvm package with a -jvm suffix
This commit is contained in:
@@ -46,7 +46,8 @@ system and database of choice.
|
|||||||
|
|
||||||
There are two types of packages:
|
There are two types of packages:
|
||||||
|
|
||||||
- The `linux` and `windows` packages are compiled natively and contain an executable that can be run directly.
|
- The `linux-x86_64` and `windows-x86_64` packages are compiled natively and contain an executable that can be run
|
||||||
|
directly.
|
||||||
- The `jvm` package is a zip file containing all `.jar` files required to run the application. This package works on all
|
- The `jvm` package is a zip file containing all `.jar` files required to run the application. This package works on all
|
||||||
platforms and is started with `java -jar quarkus-run.jar`.
|
platforms and is started with `java -jar quarkus-run.jar`.
|
||||||
|
|
||||||
@@ -60,13 +61,12 @@ memory usage.
|
|||||||
- `<database>` can be one of `h2`, `postgresql`, `mysql` or `mariadb`.
|
- `<database>` can be one of `h2`, `postgresql`, `mysql` or `mariadb`.
|
||||||
- `-DskipTests` is optional but recommended because tests require a Docker environment to run against a real database.
|
- `-DskipTests` is optional but recommended because tests require a Docker environment to run against a real database.
|
||||||
- `-Pnative` compiles the application to native code. This requires GraalVM to be installed (`GRAALVM_HOME` environment
|
- `-Pnative` compiles the application to native code. This requires GraalVM to be installed (`GRAALVM_HOME` environment
|
||||||
variable
|
variable pointing to a GraalVM installation).
|
||||||
pointing to a GraalVM installation).
|
|
||||||
|
|
||||||
When the build is complete:
|
When the build is complete:
|
||||||
|
|
||||||
- a zip containing all jars required to run the application is located at
|
- a zip containing all jars required to run the application is located at
|
||||||
`commafeed-server/target/commafeed-<version>-<database>.zip`. Extract it and run the application with
|
`commafeed-server/target/commafeed-<version>-<database>-jvm.zip`. Extract it and run the application with
|
||||||
`java -jar quarkus-run.jar`
|
`java -jar quarkus-run.jar`
|
||||||
- if you used the native profile, the executable is located at
|
- if you used the native profile, the executable is located at
|
||||||
`commafeed-server/target/commafeed-<version>-<database>-<platform>-<arch>-runner[.exe]`
|
`commafeed-server/target/commafeed-<version>-<database>-<platform>-<arch>-runner[.exe]`
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
<goal>single</goal>
|
<goal>single</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<finalName>commafeed-${project.version}-${quarkus.datasource.db-kind}</finalName>
|
<finalName>commafeed-${project.version}-${quarkus.datasource.db-kind}-jvm</finalName>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>src/main/assembly/zip-quarkus-app.xml</descriptor>
|
<descriptor>src/main/assembly/zip-quarkus-app.xml</descriptor>
|
||||||
|
|||||||
Reference in New Issue
Block a user