title: Resource Filtering with Maven Site Plugin
body: <p>I'm using the <a href="http://maven.apache.org/plugins/maven-site-plugin/" rel="nofollow">maven site plugin</a> to create and deploy a site of documentation and resources. There are some javascript files that I would like to filter based on what profile is being used. Problem is, I can't figure out how to get the filtering to work. Has anyone come across this?</p>
  
  <p>I'm using Maven 3 and my resources are all in <code>/src/site/resources</code> which automagically get copied to <code>/target/site</code> by the site plugin.</p>
  
  <p>Thanks!</p>