title: How to exclude resources from my maven build, packagingExcludes not working
body: <p>I am using the <strong>maven-war-plugin</strong> to build a .war file</p>
  
  <p>I am using packagigExcludes and it is working fine for .jar files:</p>
  
  <pre><code> &lt;packagingExcludes&gt;WEB-INF/lib/jetty-*.ja                        
                          WEB-INF/../resources/log4j.properties,
                          WEB-INF/../resources/web.properties
                      &lt;/packagingExcludes&gt;
  </code></pre>
  
  <p>But the properties files above are not getting exluded, I also tried:</p>
  
  <pre><code>src/main/resources/web.properties
  </code></pre>
  
  <p>This is a multi-module maven project, and I am building a .war file for this spring mvc maven project and I have to exclude these files but it isn't working.</p>
  
  <p>Any pointers?</p>