loading...

Maven: Execute main method from command line

adzubla profile image Eduardo Issao Ito ・1 min read

Using maven to execute the main method of a class:

mvn exec:java -Dexec.mainClass="com.example.Main" [-Dexec.args="argument1"] ...

Discussion

markdown guide