Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added article from Dmitry Avtonomov on how to publish binaries to Sonatype repository

...

"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. 

In case of NBM, the added value might be less, as the end-user probably still uses the UI control to select plugins (he doesn't configure this manually in a pom I assume?)

Related Maven plugins:

Example POMs:

References: