title: How do I get maven-dependency-plugin from the command line?
body: <p>I'm trying to execute this command on a server through SSH:</p>
  
  <pre><code>mvn tomcat:run-war &amp;
  </code></pre>
  
  <p>But that plugin is not in the local repo:</p>
  
  <pre><code>[INFO] Scanning for projects...
  </code></pre>
  
  <p>[INFO] Searching repository for plugin with prefix: 'tomcat'.
  [INFO] org.apache.maven.plugins: checking for updates from central</p>
  
  <p>So I try:</p>
  
  <pre><code>$ mvn dependency:get -DrepoUrl=http://download.java.net/maven/2/ -Dartifact=org.codehaus.mojo:tomcat-maven-plugin
  </code></pre>
  
  <p>But even <code>org.apache.maven.plugins:maven-dependency-plugin</code> is not there. So, <strong>what's the most 'command-line friendly' way of installing maven-dependency-plugin</strong>, so to install the tomcat one?</p>
  
  <pre><code>$ mvn --version
  Apache Maven 2.2.1 (rdebian-1)
  Java version: 1.6.0_22
  Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux" version: "2.6.32-29-server" arch: "amd64" Family: "unix"
  </code></pre>