This repository has been archived by the owner on Jan 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 545
Common tasks
stephanenicolas edited this page Jul 19, 2013
·
25 revisions
This document explains common tasks for contributors.
- check if new versions of plugins are available : mvn versions:display-dependency-updates
- rebase all commits of release on master branch
- Update changelog
#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
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.
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 :
- Maven site can be browsed at : http://octo-online.github.com/robospice/site/latest/index.html
- Javadoc can be browsed at :http://octo-online.github.com/robospice/site/latest/apidocs/index.html
mvn clean deploy
As a result, you can browse the SNAPSHOTS repository of RoboSpice on Sonatype's nexus for current snapshot version.
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.