Skip to content

Metanome Releases

Tanja edited this page Jan 20, 2016 · 9 revisions

To release a new version of Metanome the maven-release-plugin is used.

A summary of how to pushing to Maven Central with Sonatype can be found here here.

Druing the release process, the release has to be signed. Therefore, the maven-gpg-plugin is used. The maven-gpg-plugin is capseld in a profile named performRelease. So you only need the gpg authentification files, if you want to release Metanome. To turn on the profile add -DperformRelease=true to your maven command when releasing Metanome.

For pushing Metanome to Sonatype you need the correct access rights. Therefore you have to create a JIRA account and open a ticket to get developer access to Metanome. For details see here.

To check whether you have the correct access rights or not, see this page.

If mvn release:prepare is successfully executed, git created a tag with the version id. If an error occurs during the next steps and you want to roll back everything, you have to delete this tag. How to delete it, is explained here.