title: Remove file from dependency jar using maven
body: <p>I am trying to remove a file from a dependency jar that I am including in my war file in maven. I am deploying the war to JBoss 5.1 and the jar in question contains a persistence.xml file that I don't want.</p>
  
  <p>Here's what is going on:</p>
  
  <pre><code>my-webapp.war
  |
  `-- WEB-INF
      |
      `-- lib
          |
          `-- dependency.jar
              |
              `-- META-INF
                  |
                  `-- persistence.xml
  </code></pre>
  
  <p>When I am building my war, I want to remove persistence.xml Any one have any idea if this can be done easily?</p>