mercury
mercury copied to clipboard
Publish project JAR's to maven central
Goal
Upload artifacts/built JAR's to a maven artifact repository.
Options
- Maven Central
- GitLab Maven Repository
- Private Maven Server (e.g. Artifactory)
Requirements for Maven Central
Publishing to maven central has following requirements:
- 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,
- javadoc and sources for IDE lookup,
- PGP signature,
- minimum POM information: There are some requirements for the minimal 5. information in the POMs that are in the Central Repository, see here,
- 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.
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)