title: How to get mvn dependecy tree to filter dependencies with specific version
body: <p>Are there any maven commands which helps me to filter dependency tree for a specific version.
  Eg: I have http client <strong><code>4.5.1,4.5.2,4.5.3</code></strong>  jar versions coming from different pom.</p>
  
  <p>I can get the tree by filtering</p>
  
  <pre><code> mvn dependency:tree -Dverbose -Dincludes=org.apache.httpcomponents:httpcore
  </code></pre>
  
  <p>If I have lot of dependencies which uses old versions , then excluding those makes tedious and clumsy for a multi module project <strong><em>instead if we have an extra filter to filter only 4.5.1 and 4.5.2 dependencies separately it would make our work ease.</em></strong>.</p>
  
  <blockquote>
    <p>Note these are the transitive dependencies and if I use exclude on
    transitive dependencies using enforcer plugin  it will not download
    the latest jar also since I have not used dependency management in my
    pom</p>
  </blockquote>
  
  <p>What I need is transitive depedency should download the version which I need instead of older version.I cannot modify transitive dependency pom.</p>
  
  <p>Any one who can shed some light would be appreciated.</p>