title: How to exclude pom.xml from Maven generated war?
body: <p>Using Maven war plugin, I generate WAR which includes following directory:</p>
  
  <pre>
  META-INF
  -- maven
     -- com.abc.def
        -- myServlet
           -- pom.xml
           -- pom.properties
  </pre>
  
  <p>In release, I want to exclude this maven directory. How can I do that?</p>
  
  <p>I tried latest maven-war-plugin (2.1-beta-1), it has configuration "packagingExcludes", but it doesn't work as I wish.</p>
  
  <p>Any suggestions?</p>