The goal is to upload NBM files to Maven Central and get URLs similar to this:

https://repo1.maven.org/maven2/com/miglayout/lib-miglayout-NB80/

Info from Johan Vos from Gluon:

"Sonatype has a very good guide for all the steps that are involved in getting your maven artifacts into the Maven Central repository: https://central.sonatype.org/pages/ossrh-guide.html."

All code required to upload the JavaFX artifacts is in the build gradle:

https://github.com/javafxports/openjdk-jfx/blob/develop/build.gradle#L1513 and below.

The process is rather strict, e.g. you need to have source jars, javadoc jars, and all jars have to be signed. However, once it is working, it is very convenient. 

Related Maven plugins:

Example POMs:

References:

  • No labels