jira-importer commented on issue #248: URL: https://github.com/apache/maven-war-plugin/issues/248#issuecomment-2967855742
**[Vincent Massol](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vmassol)** commented Thanks a lot Joerg! That was very useful. I was able to write: ``` <!-- - Exclude JCL and LOG4J since we want all logging to go through SLF4J. Note that we're excluding log4j-<version>.jar but keeping log4j-over-slf4j-<version>.jar - Exclude xwiki-platform-olcore because it's already included in xwiki-platform-legacy-oldcore - Exclude batik-js to prevent conflict with the patched version of Rhino used by yuicompressor used for JSX. See http://jira.xwiki.org/jira/browse/XWIKI-6151 for more details. --> <packagingExcludes> WEB-INF/lib/xwiki-platform-oldcore-*.jar, WEB-INF/lib/batik-js-*.jar, WEB-INF/lib/commons-logging-*.jar, %regex[WEB-INF/lib/log4j-(?!over-slf4j).*.jar] </packagingExcludes> ``` Which is much nicer than what I had before :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org