moditect / layrry

A Runner and API for Layered Java Applications
Apache License 2.0
332 stars 33 forks source link

Consider publication via SDKMAN! #27

Open aalmiray opened 4 years ago

aalmiray commented 4 years ago

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.

gunnarmorling commented 4 years ago

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

aalmiray commented 4 years ago

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 commented 3 years ago

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 commented 3 years ago

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