title: Maven dependency tree and pom dependencies
body: <p>I would like to know all transitive dependencies of the following jar:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;xmlbeans-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.3.3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Moving a classic command to the pom.xml of the project's defining that dependency and inputting:</p>
  
  <blockquote>
    <p>mvn dependency:tree</p>
  </blockquote>
  
  <p>would show:</p>
  
  <pre><code>+- org.codehaus.mojo:xmlbeans-maven-plugin:jar:2.3.3:compile
  |  +- xml-resolver:xml-resolver:jar:1.2:compile
  |  +- org.apache.maven:maven-model:jar:2.0.6:compile
  |  +- org.apache.maven:maven-artifact:jar:2.0.6:compile
  |  +- org.apache.maven:maven-project:jar:2.0.6:compile
  |  |  +- org.apache.maven:maven-settings:jar:2.0.6:compile
  |  |  +- org.apache.maven:maven-profile:jar:2.0.6:compile
  |  |  +- org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
  |  |  |  +- org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
  |  |  |  \- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile
  |  |  +- org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
  |  |  \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
  |  |     +- junit:junit:jar:3.8.1:compile
  |  |     \- classworlds:classworlds:jar:1.1-alpha-2:compile
  |  +- org.apache.maven:maven-plugin-api:jar:2.0.6:compile
  |  +- org.apache.xmlbeans:xmlbeans:jar:2.4.0:compile
  |  |  \- stax:stax-api:jar:1.0.1:compile
  |  \- org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
  </code></pre>
  
  <p>I don't see the mojo-parent:</p>
  
  <pre><code>  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
    &lt;artifactId&gt;mojo-parent&lt;/artifactId&gt;
    &lt;version&gt;21&lt;/version&gt;
    &lt;packaging&gt;pom&lt;/packaging&gt;
  </code></pre>
  
  <p>At first glance it seems that the mvn command can show the dependencies which are not pom type.</p>
  
  <p>Is there a way to show exactly every single file needed to keep a jar alive?</p>
  
  <p>Thanks!</p>