Releasing artifacts to Maven Central requires signing them. Make sure gpg is set up:
http://central.sonatype.org/pages/working-with-pgp-signatures.html.
In $HOME/.m2/settings.xml
, add credentials for accessing
Sonatype's OSS Repository:
<settings>
<servers>
<server>
<id>ossrh-interedition</id>
<username>interedition</username>
<password>...</password>
</server>
</servers>
</settings>
Edit changelog.txt
.
mvn versions:set -DnewVersion=1.2.3
Edit site/grunt/jade.js
, update dist.options.data.version
and regenerate site via
grunt deploy
from the site/
directory.
Activate the release
profile in order to attach Javadocs and sources to build artifacts.
mvn clean deploy -P release
Push to Github and create a release.
mvn nexus-staging:release
mvn versions:set -DnewVersion=1.2.4-SNAPSHOT