Maven Publishing
Gradle build file:
- Service util: https://github.com/OpenLMIS/openlmis-service-util/blob/master/build.gradle
- Blog: http://yennicktrevels.com/blog/2013/10/11/automated-gradle-project-deployment-to-sonatype-oss-repository/
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
OpenLMIS: the global initiative for powerful LMIS software