title: Calling Maven goals from Java
body: <p>Is it possible to call Maven goals from Java, for instance, can I do the equivalent of:</p>
  
  <pre><code>mvn clean package
  </code></pre>
  
  <p>from a Java class?</p>
  
  <p>thanks,
  Nick</p>