Sep 03

Run a main method with Maven

maven test java

Use maven's exec plugin (http://mojo.codehaus.org/exec-maven-plugin/):

$ mvn exec:java -Dexec.mainClass=net.blindgaenger.toolbox.ssh.Main -Dexec.args="1154"
✱ ✱ ✱