title: maven setup another repository for certain dependency
body: <p>I have Maven2 project. All dependencies except one are downloaded from public repository <a href="http://repo.maven.apache.org/maven2/" rel="noreferrer">http://repo.maven.apache.org/maven2/</a>. </p>
  
  <p>But I have 1 dependency which I need to download from internal company's repository (we use Sonatype Nexus to store this dependency).</p>
  
  <p>Also, I don't want to create full copy of public repo on my internal repo.</p>
  
  <p>At this moment I have in pom.xml:</p>
  
  <pre><code>&lt;url&gt;http://maven.apache.org&lt;/url&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;thirdparty&lt;/id&gt;
          &lt;url&gt;http://&lt;my_nexus_server_ip&gt;:8081/nexus/content/repositories/thirdparty&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>
  
  <p>So, during build I see a lot of trash messages (in this case first line is a trash):</p>
  
  <pre><code>Downloading: http://&lt;my_nexus_server_ip&gt;:8081/nexus/content/repositories/thirdparty/ant/ant/1.6.5/ant-1.6.5.pom
  Downloading: http://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: http://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 3.2 KB/sec)  
  </code></pre>
  
  <p>I want to clearly point Maven for which dependency it have to use internal   repository and ignore it for others dependencies (and point that for others dependencies Maven2 have to use public repository).</p>
  
  <p>Could you please help to implement such behavior in Maven?</p>
  
  <p>Thanks In Advance!</p>