title: In maven - how to rename the output .war file based on the name of the profile in use
body: <p>I have three profiles in my pom.xml for our application...</p>
  
  <ol>
  <li>dev (for use on a developer's)</li>
  <li>qa (for use on our internal qa server)</li>
  <li>prod (production).</li>
  </ol>
  
  <p>When we run our maven build all three profiles ouput a war file with the same name. I would like to output <code>$profilename-somearbitraryname.war</code></p>
  
  <p>Any ideas?</p>