Open aalmiray opened 4 years ago
Wow, didn't know about this. Great idea IMO!
There is no sdkman-maven-plugin
available. Deployment and announcements can be made with REST calls as explained at https://sdkman.io/vendors
Deployments can be pushed automatically from CI via GitHub Actions upon tagging for example.
Updating the JavaFX example with run instructions it struct me that we need additional means to launch Layrry powered applications. Right now we have
java -jar layrry-launcher.jar ...
jbang layrry@moditect ...
In the future consumers may be able to download the layrry-launcher from Maven Central once releases start to flow. However we have the following problems:
Of course, producers can always create their own launchers (thin wrappers over layrry-launcher) and use their own artifact repositories for distribution (thinking inside vpn, intranet, etc) regardless of the ready-made choices we decide to provide in the future.
Well, well, look what I found https://github.com/sdkman/sdkman-vendor-maven-plugin
layrry-cli
could be package as a launchable application via https://www.mojohaus.org/appassembler/appassembler-maven-plugin/ that can be distributed via SDKMAN!.As an added advantage additional config formats can be configured by dropping a JAR file into the application's
lib
directory.