title: Build HTML page during maven build
body: <p>I am using Maven to build an HTML webapp. I have one profile for debug and another profile for release. In the debug profile I'd like to have un-compressed Javascript used in the HTML page but in the release profile I concatenate all of the Javascript files and then compress them using Googles Closure compiler.</p>
  
  <p>So basically I have 2 lists of Javascript files that I need to write out as <code>&lt;script&gt;</code> tags into the HTML page based on which profile is selected.</p>
  
  <p>Is there a Maven plugin that I could configure with different lists for different profiles that could generate the HTML file as necessary?</p>