For Java 6 or higher build with Maven 3.2.5 or higher
For Java 5 build with Maven 3.0.5
For Java 1.4 build with Maven 2.0.11

Before building:

To build:

mvn clean install

Before deploying:

copy settings-template.xml to ~/.m2/settings.xml adding your Sonatype OSSRH
username and passwords.

To deploy (optionally adding sources and javadoc jars):
mvn deploy
