title: transitive dependency defined in parent pom's dependency management
body: <p>'Dependency1' transitively pulls 'dependency2' and I would like to manage 'dependency2' version in my project.</p>
  
  <p>what version of 'dependency2' will be pulled in by project if I have both 'dependency1' and 'dependency2'in dependency management section in parent pom and just 'dependency1' child pom of the project?</p>
  
  <p>something like this:</p>
  
  <p><strong>ParentPOM</strong></p>
  
  <pre><code>&lt;dependencyManagement&gt;
    &lt;dependencies&gt;
  
          &lt;dependency&gt;
            &lt;groupId&gt; groupId &lt;/&lt;groupId&gt;
            &lt;artifactId&gt; artifact1 &lt;/artifactId&gt;
            &lt;version&gt; version1 &lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
            &lt;groupId&gt; groupId &lt;/&lt;groupId&gt;
            &lt;artifactId&gt; artifact2 &lt;/artifactId&gt;
            &lt;version&gt; version2 &lt;/version&gt;
          &lt;/dependency&gt;
  
    &lt;dependencies&gt;
  &lt;dependencyManagement&gt;
  </code></pre>
  
  <p><strong>ChildPOM</strong></p>
  
  <pre><code>&lt;dependencies&gt;
     &lt;dependency&gt;
         &lt;groupId&gt; groupId1 &lt;/&lt;groupId&gt;
            &lt;artifactId&gt; artifact1 &lt;/artifactId&gt;
            &lt;version&gt; version1 &lt;/version&gt;
         &lt;/dependency&gt;
    &lt;dependencies&gt;
  </code></pre>