title: Ivy: how do I remove transitive dependencies?
body: <p>I'm using <a href="http://ant.apache.org/ivy" rel="noreferrer">Ivy</a> to manage the dependencies on my project.</p>
  
  <p>So far, I've specified a dependency on Hibernate and servlet-api. However, the hibernate jar itself has a lot of dependencies that aren't really needed, such as <a href="http://en.wikipedia.org/wiki/Java_Authentication_and_Authorization_Service" rel="noreferrer">jaas</a> and <a href="http://java.sun.com/j2ee/javaacc/" rel="noreferrer">jacc</a>.</p>
  
  <p>This becomes a show-stopper because jaas and jaac are Sun libraries and therefore their licenses forbid to place them in the Maven repos, so Ivy can't find them there.</p>
  
  <ul>
  <li>How do I make Ivy download Hibernate but not these two ?</li>
  <li>As a bonus, if I actually needed those and downloaded their Jars from Sun, in which folder in my machine would Ivy look for them ?</li>
  </ul>