title: Find hidden dependencies in Ivy
body: <p>I'm using Apache Ivy + IvyDE for getting my project's dependencies, which are:</p>
  
  <pre><code>    &lt;dependency org="com.google.guava" name="guava" rev="r08" /&gt;
  
      &lt;!-- logging --&gt;
      &lt;dependency org="org.slf4j" name="jcl-over-slf4j" rev="1.6.1" /&gt;
      &lt;dependency org="ch.qos.logback" name="logback-classic" rev="0.9.27" /&gt;
  
      &lt;!-- database --&gt;
      &lt;dependency org="org.hibernate" name="hibernate-entitymanager" rev="3.6.2.Final" /&gt;
      &lt;dependency org="org.hibernate" name="hibernate-validator" rev="4.1.0.Final" /&gt;
      &lt;dependency org="org.hibernate" name="hibernate-c3p0" rev="3.6.2.Final" /&gt;
      &lt;dependency org="mysql" name="mysql-connector-java" rev="5.1.14" /&gt;
  </code></pre>
  
  <p>Sources are the Maven and JBoss (Hibernate) repositories.</p>
  
  <p>As you can see I'm using logback+SLF4J for logging, but for some reason Ivy will download log4j and slf4j-log4j as well, which causes a few small problem in my application.</p>
  
  <p>Is there a way to see why this happens, to see which of the dependencies above depend on log4j? Can I get a dependency graph/tree generated from Ivy/IvyDE?</p>
  
  <p>And is there then a way to prevent this from happening?</p>