title: How does Maven determine which plugin version to use for plugins used from the command line?
body: <p>(using Maven 3.0.3 on Mac with Java 7)</p>
  
  <p>When I run <code>mvn dependency:analyze-duplicate</code> maven uses the version 2.1 (no matter if 2.8 is available in my local repo or not) of the plugin and complains:</p>
  
  <pre><code>[ERROR] Could not find goal 'analyze-duplicate' in plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 among available goals unpack-dependencies,....
  </code></pre>
  
  <p>When I run it as <code>mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze</code> it works fine.</p>
  
  <p>I would have assumed, maven always falls back to the most recent version (even if not yet in the local repo), if no version is explicitly specified?</p>
  
  <p>What am I missing? Thank you all for your time to respond.</p>