title: Javascript web app and Java server, build all in Maven or use Grunt for web app?
body: <p>We are doing a web application with AngularJS and we like the idea of using Bower for Dependency Management and Grunt for building, running tests etc. (<a href="http://yeoman.io/">Yeoman</a>)</p>
  
  <p>The server is done with Java using Maven, so of course we would like with a simple <code>mvn install</code> build everything (web application + server)</p>
  
  <p>So what approach you took and why?</p>
  
  <p>1) Treat them as two different applications, which in fact they are. So using different building methods/tools is acceptable.</p>
  
  <p>2) Forget about Grunt Bower, use Maven plugins to build, run tests, manage dependencies for the web application. If that is the case, which ones?</p>
  
  <p>3) Use Maven exec plugin to call Grunt to build the front-end webapp. I see this more as a hack than a solution.</p>
  
  <p>4) Other.</p>
  
  <p>Approach easier to integrate with Jenkins is a plus.</p>
  
  <p>Thanks in advance!</p>