title: Renaming static files when building WAR file using Maven
body: <p>I want to rename static files when building my WAR file using maven-war-plugin, with version number. For intance, in my project I have a file: </p>
  
  <pre><code>src/main/webapp/css/my.css
  </code></pre>
  
  <p>I want it to appear in the WAR file as: </p>
  
  <pre><code>css/my-versionNumber.css
  </code></pre>
  
  <p>The same question was already asked (see <a href="https://stackoverflow.com/questions/8452014/rename-static-files-on-maven-war-build">Rename static files on maven war build</a>), but the accepted answer is to rename a directory. I do not want to rename a directory, I want to rename the actual file.</p>
  
  <p>Is this possible?</p>