Hello World sample with Java with Maven....
$ mvn compile
$ mvn test
$ mvn exec:java
$ mvn package
$ mvn archetype:generate \
-DarchetypeArtifactId=maven-archetype-quickstart \
-DinteractiveMode=false \
-DgroupId=info.maigo.lab.hello \
-DartifactId=maigolab_hello