title: How do I prevent Maven from downloading maven-metadata.xml for an artifact that I already have in my repo?
body: <p>I’m using Maven 3.2.  I have this dependency in my pom.xml file (a WAR project)</p>
  
  <pre><code>            &lt;dependency&gt;
                      &lt;groupId&gt;joda-time&lt;/groupId&gt;
                      &lt;artifactId&gt;joda-time&lt;/artifactId&gt;
                      &lt;version&gt;1.6.2&lt;/version&gt;
                      &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;
  </code></pre>
  
  <p>Whenever I run any phase for my pom (e.g. “mvn install”), the app always attempts to download some metadata about the dependency …</p>
  
  <pre><code>Downloading: http://repo.spring.io/milestone/joda-time/joda-time/maven-metadata.xml
  </code></pre>
  
  <p>How do I tell Maven to stop doing that?  I already have the artifact cached in my local Maven repo.</p>
  
  <p>Thanks, - Dave</p>