title: how to build a maven project with maestrodev / puppet-maven?
body: <p>I have used the maestrodev maven plugin to install maven on ubuntu.</p>
  
  <p>I've checked out a project using the vcsrepo plugin, after which I have been using <code>exec</code> to build the project:</p>
  
  <pre><code>exec { "build_myproj":
     cwd     =&gt; "/myproj",
     command =&gt; "mvn clean install eclipse:eclipse",
     path    =&gt; "/usr/local/bin/:/usr/bin:/bin/",
     user    =&gt; vagrant
  }
  </code></pre>
  
  <p>I was wondering if there was a better way to build the project? I have been through the <a href="https://github.com/maestrodev/puppet-maven" rel="nofollow">maven-plugin documentation</a>, but couldn't see anything relevant there.</p>