execute maven project in cmd

C
#execute the project
mvn exec:java -Dexec.mainClass=com.mycompany.App
Source

Also in C: