I am using maven-war-plugin to create a .war file
I use packagigExcludes and works fine for .jar files:
<packagingExcludes>WEB-INF/lib/jetty-*.ja
WEB-INF/../resources/log4j.properties,
WEB-INF/../resources/web.properties
</packagingExcludes>
But the properties files above will not be excluded, I also tried:
src/main/resources/web.properties
This is a multi-module maven project, and I am creating a .war file for this spring mvc maven project, and I have to exclude these files, but it does not work.
Any pointers?
source
share