title: Customized context.xml per environment using maven
body: <p>I have two context.xml files in my Java web project:</p>
  
  <p>context.xml.development
    context.xml.production</p>
  
  <p>and I use maven war plugin to build it.</p>
  
  <p>When I build the project, I'd like maven to copy the proper context.xml to the META-INF directory.</p>
  
  <p>How could I do it? I'm already using profiles in my pom.xml</p>