Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Common tasks

stephanenicolas edited this page Jul 19, 2013 · 25 revisions

This document explains common tasks for contributors.

Preparing to release :

  • check if new versions of plugins are available : mvn versions:display-dependency-updates
  • rebase all commits of release on master branch
  • Update changelog

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

Put release branch in release state

git checkout release
git reset --hard <latest-release-tag>
git push --force

Next create ant repo branch and javadocs from this tag on release branch.

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.