title: How to deliver properties files in addition to artifacts?
body: <p>I am using <strong>Maven2</strong> to build a WAR project.
  Some properties files are dependent on the environment targeted for a release.</p>
  
  <p>I want to deliver, in addition of the WAR, a file called <code>datasource.xml</code>. This file already exists in my project directory, but contains properties that will be filtered during the build (i.e. some <code>${foo.bar}</code>).</p>
  
  <p>In others words, after running the command <strong>mvn clean install</strong>, I want to see in my <code>target/</code> directory two files, <code>my-webapp.war</code> and <code>datasource.xml</code>.</p>
  
  <p>Note that <code>datasource.xml</code> <strong>must not</strong> be included in the <code>my-webapp.war</code> artifact!</p>
  
  <p>How can I do this?</p>