Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 694 Bytes

File metadata and controls

21 lines (12 loc) · 694 Bytes

sb-cli

Sample Spring Boot CLI application.

Shows how a Spring Boot application may be configured and packaged to create native executables with GraalVM Native Image, as well as creating binary distributions (packaged as .zip and .tar.gz), finally publishing said binaries as assets on a Git release via JReleaser.

Building

$ ./mvnw -Pnative package -DskipTests

Packaging

$ ./mvnw -Pdist package -DskipTests

Releasing

Posting a release from a local environment only when binaries for the current platform are available

$ ./mvnw -Prelease jreleaser:release -Djreleaser.select.current.platform