title: Easier way to run a Java application from Maven?
body: <p>If I have understood correctly, I need to type this to run my project from maven:</p>
  
  <pre><code>mvn compile
  mvn exec:java -Dexec.mainClass="com.foo.bar.blah.Main"
  </code></pre>
  
  <p>Is there a way I can make this simpler? Optimally I would like to just do</p>
  
  <pre><code>mvn run
  </code></pre>