This page briefly documents how we publish Apache Ranger artifacts to Maven Central.

  1. Checkout the relevant git tag, e.g. git checkout ranger-0.6.1-rc2
  2. Make sure you have an entry in your ~/.m2/settings.xml with id "apache.staging.https" with your Apache username + password, e.g.:

    <server>

           <id>apache.staging.https</id>

          <username>coheigea</username>

           <password>...</password>

    </server>

  3. Deploy the release with: mvn clean deploy -Psign-artifacts
  4. Go to https://repository.apache.org/ and log in using your Apache username + password.
  5. Click on "Staging Repositories" on the left hand side.
  6. Select the entry that starts with orgapacheranger and click on "close".
  7. Verify via the URL that should appear after refresh that the artifacts look as expected.
  8. After approval, click on "release".
  • No labels