giovedì, maggio 29, 2008

Executing main class with maven

If you want to run the main class of your application, let say mypackage.Pluto from maven, just run this command:


$ mvn exec:java -Dexec.mainClass=mypackage.Pluto


That's great, easy, simple...that's the maven way. Thanks to Lucio.

Nessun commento: