jhow to run a java project in maven code example
Example 1: run maven spring boot project command line
./mvnw spring-boot:run
Example 2: run java program maven
mvn exec:java -Dexec.mainClass="com.vineetmanohar.module.Main" -Dexec.args="arg0 arg1 arg2"