title: get partial maven dependency tree in offline mode
body: <p>I'm trying to run some unit tests with Apache Maven.  I hoped this would be as simple as running the <code>test</code> &quot;goal&quot;.  But when I did that, maven complained that it could not download some dependencies and thus can't run my tests.  This sounds fine, except that I have no idea why it decided I need those dependencies; they are not in my pom.xml, and I doubt they're in my transitive dependencies either.  (I'm not sure about that last part; they very well might be in my transitive dependencies.)</p>
  <p>Luckily, maven has the perfect tool for this: <code>dependency:tree</code> will tell us exactly which dependency is getting pulled in by what.  Except for the small problem that maven thinks to itself &quot;in order to build the tree, I have to resolve the dependencies first&quot; so it tries (and fails) to download those very same dependencies so that it can build the part of the tree that's under them.</p>
  <p>So now I don't have a tree, and I have no idea how to proceed from here.</p>