THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Preparations
- Make sure your .m2/settings.xml contains your user and password
<servers> <server> <id>apache.snapshots.https</id> <username>your-user</username> <password>your-password</password> </server> <server> <id>apache.releases.https</id> <username>your-user</username> <password>your-passwd</password> </server> </servers>
- Make sure you have a pgp key
- Make sure all jira issues for the version are resolved
- Export the jira issues from the jira roadmap view of the version you are doing and update distribution/multi-bundle/src/main/release/release_notes.txt
Do the release in maven
- mvn release:prepare
- mvn release:perform
- go to https://repository.apache.org, log in with you apache id, find your staging repo and close it
Check completeness
- Check the tag is there in subversion and contains the correct version in the poms
- Check that the release notes are correct
- Check that the staging repo is visible and contains the correct release version