-
Notifications
You must be signed in to change notification settings - Fork 613
Release Process
Benjamin Golder edited this page Jan 28, 2017
·
31 revisions
- If you don't already have a Sonatype JIRA login, then register to create a new account.
- install
gpg2
and make sure it is on yourPATH
- If you don't already have a key, create a key with
gpg2 --gen-key
, use your email and full name, and a secure passphrase. - Get the ID for your public key.
gpg2 --list-keys
will show you a list of your keys and their IDs. For example, my key ID is3806A4CD
. - Upload your public key to a keyserver. For example,
gpg2 --keyserver hkp://pool.sks-keyservers.net --send-keys 3806A4CD
, where3806A4CD
is the ID of your public key. It will take 5-30 minutes for the key to become available on the server. - Create a local settings file so that the maven gpg plugin can use your key to sign files. For example, make a file at
~/.m2/settings.xml
and replace the example JIRA login information and gpg passphrase with your JIRA login and gpg passphrase.