Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1 KB

MAINTAINERS.md

File metadata and controls

50 lines (36 loc) · 1 KB

Deploying to Maven Central Repository

After you ticket has been approved, perform the following steps to deploy to Maven.

Register gpg keys

Install gpg :

https://gnupg.org/download/

Generate gpg keys:

gpg --gen-key

Export key:

gpg -export-secret-keys YOUR-KEY-ID > secret-keys.gpg

note: the KEY-ID is the last 8 digits of the 40 digit string displayed when the key was created.

Register key to online server:

gpg --keyserver hkp://keyserver.ubuntu.com --send-keys YOUR-KEY-ID

Create a gradle.properties file

Add the following to the gradle.properties

// GPG key information
signing.keyId=YOUR-KEY-ID
signing.password=YOUR-GPG-PASSWORD
signing.secretKeyRingFile=${HOME}/.gnupg/secring.gpg

// Sonatype key information
ossrhUsername=YOUR-OSSRH-USERNAME
ossrhPassword=YOUR-OSSRH-PASSWORD

Deploy and release

Publish to gradle:

gradle publish

Login to Nexus Repository Manager and release:

https://oss.sonatype.org/#stagingRepositories