The example demonstrates how to create multi platform distributions for applications in Java 21.
With native packages:
mvn clean package -P native-deploy
Without native packages (only ZIP file):
mvn clean package
For all platforms:
multiplatform-distribution-distrib/target/multiplatform-distribution-<version>-no-jre.zip
For Windows:
multiplatform-distribution-client/target/multiplatform-distribution-<version>.exe
For macOS:
multiplatform-distribution-client/target/multiplatform-distribution-<version>.dmg
For Linux:
multiplatform-distribution-client/target/multiplatform-distribution-<version>.tar.gz
multiplatform-distribution-client/target/multiplatform-distribution_<version>.deb
multiplatform-distribution-client/target/multiplatform-distribution_<version>.rpm