Most Java CLI tools stop at mvn compile exec:java.

That works locally. It doesn’t scale.

In this guide I show how to:
- build a fat JAR
- automate GitHub releases
- publish a JBang catalog
- install with one command

No cloning. No Maven required.

Full tutorial:
https://www.the-main-thread.com/p/ship-java-cli-jreleaser-jbang-github-release

#Java #JReleaser #JBang #Maven #OpenSource

@myfear
OK, this replaces Maven with requiring JBang, but you still need the right Java version and that's not that much easier. I would argue that publishing to something like Flathub would be a better option.

@infosec812 „Java is not required to be installed - JBang will automatically download a Java version
if no Java 8 or higher Java Development Kit (JDK) version is found.“

http://www.jbang.dev/download/

Download

JBang