Maven Publishing
Gradle build file:
Signing
Identity OpenLMIS, secring.gpg file, username and password in S3
Using GnuPG: http://central.sonatype.org/pages/working-with-pgp-signatures.html#distributing-your-public-key
Creating a secring.gpg file (legacy as of GPG2 needed for Gradle Signing plugin): http://stackoverflow.com/questions/32816003/how-to-sign-with-gradle-and-gpg2
Key ids and format: http://superuser.com/questions/619145/how-to-make-gnupg-display-full-8-byte-64-bit-key-id
Central Requirements
Releasing
Moving a repository from SNAPSHOTs to Releases repositories requires 2 things:
Changing the version to not have "-SNAPSHOTS" appended.
Logging into the Nexus manager, closing the staging repository, and then releasing it.
Steps have been added to Rolling a Release