title: How to share a filter file among Maven2 modules?
body: <p>I have a multi-module project and I would like to define a single filter file that will apply properties to all the child modules. For example, I would like to have the following structure:</p>
  
  <p><b>parent</b><br>
  - filter.properties<br>
  - <b>module1</b><br>
  &nbsp; &nbsp; - resource1<br>
  - <b>module2</b><br>
  &nbsp; &nbsp;- resource2<br></p>
  
  <p>such that when I build parent, it would apply the filter to resource1 and resource2 when the child modules are built.</p>
  
  <p>If I create the structure above and define the filter in the parent's POM, the build fails because it expects the filter to be defined in each child module... Is there a simple way to do this that I'm overlooking?</p>