title: Run Makefile + Ant Buildfile inside Maven pom.xml
body: <p>I've checked out jquery + jquery-ui from GitHub into my <code>src/main/webapp/resources/js</code> folder.</p>
  
  <p>Now I would like to do the minifying stuff by pom.xml
  (<a href="https://github.com/jquery/jquery/blob/master/Makefile" rel="nofollow">jquery uses a Makefile</a> - <a href="https://github.com/jquery/jquery-ui/blob/master/build/build.xml" rel="nofollow">jquery-ui uses an Ant buildfile</a>)</p>
  
  <p>Is it possible to do this?
  I just thought about a <a href="http://docs.codehaus.org/display/GMAVEN/Executing+Groovy+Code#ExecutingGroovyCode-ExecuteanInlineGroovyScript" rel="nofollow">Groovy Script inside pom.xml</a></p>
  
  <p>Is it the clean/popular way to do this?
  And can anyone give an example,
  because I'm totally new to Groovy.</p>