title: Why does Maven use the wrong plugin despite explicit plugin and pluginManagement version?
body: <p>My parent pom <strong>exlicitly</strong> declares a dependence on maven-javadoc-plugin 2.9.1 in both </p>
  
  <pre><code>&lt;pluginManagement&gt;
     &lt;plugins&gt;
       &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.9.1&lt;/version&gt;
       &lt;/plugin&gt;
          ...
  </code></pre>
  
  <p>and</p>
  
  <pre><code>    &lt;reporting&gt;
        &lt;plugin&gt;
           &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
           &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
           &lt;version&gt;2.9.1&lt;/version&gt;
           ...
  </code></pre>
  
  <p>(see <a href="https://stackoverflow.com/questions/18340970/maven-plugin-version-in-pom-seemingly-ignored">Maven plugin version in pom (seemingly) ignored</a> ) and <code>mvn help:effective-pom</code> shows 2.9.1 is being used. However, the build is using 2.10 which is causes build failures (see 
  <a href="https://stackoverflow.com/questions/25983852/maven-javadoc-plugin-breaks-mvn-releaseperform">maven-javadoc-plugin breaks mvn release:perform</a> and <a href="http://jira.codehaus.org/browse/MJAVADOC-407" rel="nofollow noreferrer">http://jira.codehaus.org/browse/MJAVADOC-407</a> )</p>
  
  <pre><code>mvn help:describe -DgroupId=org.apache.maven.plugins \
                    -DartifactId=maven-javadoc-plugin
  </code></pre>
  
  <p>shows</p>
  
  <pre><code>    Name: Apache Maven Javadoc Plugin
      Description: The Apache Maven Javadoc Plugin is a plugin that uses the
        javadoc tool for generating javadocs for the specified project.
      Group Id: org.apache.maven.plugins
      Artifact Id: maven-javadoc-plugin
      Version: 2.10
      Goal Prefix: javadoc
  </code></pre>
  
  <p>Meanwhile,</p>
  
  <pre><code>mvn dependency:resolve-plugins
  </code></pre>
  
  <p>shows</p>
  
  <pre><code>[INFO] Plugin Resolved: maven-javadoc-plugin-2.9.1.jar
  </code></pre>
  
  <p>Yet when I run the build, mvn uses 2.10 instead, causing a build failure.</p>
  
  <p>How can I force maven to use 2.9.1 and not the broken 2.10?</p>
  
  <p>(I'm using Maven 3.2.1)</p>