how to run maven project on terminal code example
Example 1: execute maven project in cmd
#execute the project
mvn exec:java -Dexec.mainClass=com.mycompany.App
Example 2: example of simple maven pom java
11 org.apache.maven.plugins maven-compiler-plugin 3.8.1