title: How to track down mystery dependencies in Maven?
body: <p>I have a WAR project and, somehow, I always get <code>log4j-1.2.16.jar</code> in my built package. I'm using <strong>SLF4J</strong> so I've excluded Log4J from any dependencies that may pull it in transitively.</p>
  
  <p>Log4J does not show up in <a href="http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html" rel="nofollow"><code>mvn dependency:tree</code></a> but it does show up in <a href="http://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.html" rel="nofollow"><code>mvn dependency:resolve</code></a>.</p>
  
  <p>It does not show up in NetBeans's POM graph viewer (but I'm guessing it's doing something similar to <code>dependency:tree</code>.</p>
  
  <p>Is there anywhere else I could go look to find out why <code>log4j-1.2.16.jar</code> always ends up included in my WAR?</p>