Run Netbeans maven project from command-line?
command-line, java, maven-2, netbeans
Solution
There's a plugin for that: http://www.mojohaus.org/exec-maven-plugin/
$ mvn exec:java -Dexec.mainClass="com.mycompany.App"
Assuming `com.mycompany.App` is you main class.
Problem
I've got a Maven project that runs perfectly inside Netbeans. How can I execute the application from the command-line (without Netbeans)?