This is my cheat sheet for doing a release.
Ensure that .m2/settings.xml
contains the GitHub credentials:
<server>
<id>github</id>
<password><!-- access key --></password>
</server>
mvn release:clean release:prepare release:perform
Head over to http://oss.sonatype.org/ and do the release
git checkout <tag>
# prepare and maybe modify site.xml
mvn site -Ppages
git checkout master