New installation: Install GPG at http://www.gpgtools.org/gpgmail/index.html Generate new key with gpg --gen-key build-with-maven gpg --list-keys Send the public key: gpg --keyserver hkp://pool.sks-keyservers.net --send-keys or wwwkeys.at.pgp.net instructions at https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven Configure ~/.m2/settings.xml with Nexus user/password: sonatype-nexus-snapshots *** *** sonatype-nexus-staging *** *** Snaphot deploy: mvn -Dgpg.passphrase= -Dgpg.keyname= deploy Staging deploy: mvn -Dgpg.passphrase= -Dgpg.keyname= release:clean release:prepare release:perform