Skip to content
stephanenicolas edited this page Jun 21, 2013 · 16 revisions

This document explains common tasks for contributors.

Releasing RoboSpice to Sonatype / Maven Central

#prepare the release
mvn release:prepare
#perform the release
mvn release:perform

If something goes bad with the site during release perform, skip the site phase with

#perform the release
mvn release:perform -Dgoals=deploy

Creating Maven site and Javadocs and exporting them to GitHub's pages

Note: JAVA_HOME must point to a jdk 7 home, not 6.

mvn clean site-deploy

In case you get Permgen OutOfMemoryError :

export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"; mvn clean site-deploy

As a result :

Deploying SNAPSHOTS artefacts to Sonatype's nexus

mvn clean deploy

As a result, you can browse the SNAPSHOTS repository of RoboSpice on Sonatype's nexus for current snapshot version.

Deploying artefacts to repository branch on GitHub for ant users

Usually, you want to put release branch on a non-snapshot release tag before executing the following command line :

mvn clean deploy -P repository

As a result, you can browse the repository branch on GitHub for current version.

Update master branches of both lib and samples.

Clone this wiki locally