Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a user at https://issues.sonatype.org and request privileges to publish under openmrs at https://issues.sonatype.org/browse/OSSRH-5532
  2. Install and configure gpg2 as described here http://central.sonatype.org/pages/working-with-pgp-signatures.html, do not forget to delete sub keys and distribute the public key
  3. Add the following server entry and properties to settings.xml in the .m2 directory:

    Code Block
    <settings>
      <servers>
        <server>
          <id>ossrh</id>
          <username>your-jira-id</username>
          <password>your-jira-pwd</password>
        </server>
      </servers>
    </settings>
     
    <properties>
      <gpg.executable>gpg2</gpg.executable>
      <gpg.passphrase>the_pass_phrase</gpg.passphrase>
    </properties>

...

If you have ever done the above seteps steps before, you should be able to checkout the latest master of https://github.com/openmrs/openmrs-contrib-sdk-maven-plugin and call:

...