Versions Compared

Key

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

...

  1. Signed each artifact
    1. gpg2 -ab cnriutil-2.0.v20190416.pom
    2. gpg2 -ab cnriutil-2.0.v20190416.jar
    3. gpg2 -ab cnriutil-2.0.v20190416-sources.jar
    4. gpg2 -ab cnriutil-2.0.v20190416-javadoc.jar
  2. Now, a total of 8 files exist. Each of the above, and a corresponding "*.asc" signature.
  3. Bundle them into a single JAR (bundle.jar):

    Code Block
    jar -cvf cnriutil-bundle.jar cnriutil-2.0.v20190416.pom cnriutil-2.0.v20190416.pom.asc cnriutil-2.0.v20190416.jar cnriutil-2.0.v20190416.jar.asc cnriutil-2.0.v20190416-sources.jar cnriutil-2.0.v20190416-sources.jar.asc cnriutil-2.0.v20190416-javadoc.jar cnriutil-2.0.v20190416-javadoc.jar.asc


  4. Login to https://oss.sonatype.org/ and upload the bundle.jar on the "Staging Upload" page
    1. Select "Artifact Bundle" upload mode
    2. Upload the "cnriutil-bundle.jar" you created
  5. Check the "Staging Repositories" to see if all validation succeeded. If not, correct any errors and try again.
  6. Otherwise, check if everything looks correct. Click Release!  Now, wait for it to appear in Maven Central

...

  1. Signed each artifact
    1. gpg2 -ab handle-9.1.0.v20190416.pom
    2. gpg2 -ab handle-9.1.0.v20190416.jar
    3. gpg2 -ab handle-9.1.0.v20190416-sources.jar
    4. gpg2 -ab handle-9.1.0.v20190416-javadoc.jar
  2. Now, a total of 8 files exist. Each of the above, and a corresponding "*.asc" signature.
  3. Bundle them into a single JAR (bundle.jar):

    Code Block
    jar -cvf handle-bundle.jar handle-9.1.0.v20190416.pom handle-9.1.0.v20190416.pom.asc handle-9.1.0.v20190416.jar handle-9.1.0.v20190416.jar.asc handle-9.1.0.v20190416-sources.jar handle-9.1.0.v20190416-sources.jar.asc handle-9.1.0.v20190416-javadoc.jar handle-9.1.0.v20190416-javadoc.jar.asc


  4. Login to https://oss.sonatype.org/ and upload the bundle.jar on the "Staging Upload" page
    1. Select "Artifact Bundle" upload mode
    2. Upload the "handle-bundle.jar" you created
  5. Check the "Staging Repositories" to see if all validation succeeded. If not, correct any errors and try again.
  6. Otherwise, check if everything looks correct. Click Release!  Now, wait for it to appear in Maven Central

...