layrry icon indicating copy to clipboard operation
layrry copied to clipboard

Consider publication via SDKMAN!

Open aalmiray opened this issue 5 years ago • 4 comments

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.

aalmiray avatar Sep 15 '20 08:09 aalmiray

Wow, didn't know about this. Great idea IMO!

gunnarmorling avatar Sep 15 '20 18:09 gunnarmorling

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.

aalmiray avatar Sep 15 '20 18:09 aalmiray

Updating the JavaFX example with run instructions it struct me that we need additional means to launch Layrry powered applications. Right now we have

  1. build your own distro and java -jar layrry-launcher.jar ...
  2. use 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:

  1. and 2. will give you the latest Layrry version which may contain unreleased, experimental bits.
  2. requires network access to GH to resolve catalog for the 1st time.

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.

aalmiray avatar Oct 11 '20 11:10 aalmiray

Well, well, look what I found https://github.com/sdkman/sdkman-vendor-maven-plugin

aalmiray avatar Oct 11 '20 11:10 aalmiray