This page briefly documents how we publish Apache Ranger artifacts to Maven Central.
- Checkout the relevant git tag, e.g. git checkout ranger-0.6.1-rc2
- 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>
- Deploy the release with: mvn clean deploy -Psign-artifacts
- Go to https://repository.apache.org/ and log in using your Apache username + password.
- Click on "Staging Repositories" on the left hand side.
- Select the entry that starts with orgapacheranger and click on "close".
- Verify via the URL that should appear after refresh that the artifacts look as expected.
- After approval, click on "release".