Helloworld in Java (JAVA_BINARY)
The https://github.com/jreleaser/helloworld-java-bin repository shows how to configure GitHub Actions and JReleaser to:
-
compile a helloworld app
-
assemble a zip distributions with JReleaser
-
create rolling early-access releases with JReleaser on every push to
main
branch
There are two modes for packaging this application: classpath & modulepath.
classpath
-
./mvnw verify
-
jreleaser assemble
modulepath
-
./mvnw verify
-
jreleaser assemble --config-file jreleaser-modules.yml
In both cases the assembled archive is placed at out/jreleaser/assemble/helloworld/java-archive
.