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 Feb 3, 2013 · 25 revisions

This document explains common tasks for contributors.

Creating Javadocs and exporting it to GitHub's page

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

# generate local site (warning for maven multi-module projects, local site links are broken)
mvn clean site
# deploy the site on github's pages, all links should work there.
mvn 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 SNAPSHOTS artefacts to repo branch on GitHub for ant users

mvn clean deploy -P repository

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

Deploying RELEASE artefacts to repo branch on GitHub for ant users

During release, the repository maven profile is activated, artefacts are deployed automatically on the repository branch on GitHub.