mercury icon indicating copy to clipboard operation
mercury copied to clipboard

Publish project JAR's to maven central

Open skofgar opened this issue 3 years ago • 1 comments

Goal

Upload artifacts/built JAR's to a maven artifact repository.

Options

Requirements for Maven Central

Publishing to maven central has following requirements:

  1. releases: Only releases can be uploaded to the Central Repository, that means files that won't change and that only depend on other files already released and available in the repository,
  2. javadoc and sources for IDE lookup,
  3. PGP signature,
  4. minimum POM information: There are some requirements for the minimal 5. information in the POMs that are in the Central Repository, see here,
  5. coordinates: Picking the appropriate coordinates for your project is important. See the guidelines here, particularly on groupId and domain ownership.

More information can be found here.


skofgar avatar Nov 16 '21 21:11 skofgar

I believe the current status is:

  • [x] 1. releases - the project already versions each target
  • [x] 2. JavaDoc - is already present, just need to make sure to include it in a release
  • [ ] 3. PGP signature: https://central.sonatype.org/publish/requirements/#sign-files-with-gpgpgp
  • [ ] 4. POM information - groupId, artifactId, version are present. Furthermore a , and should be there, license and developer information
  • [ ] 5. see 4. (also: url http://platformlambda.org doesn't resolve to anything)

skofgar avatar Nov 16 '21 21:11 skofgar