title: Repositories specified in pom.xml are not used by maven?
body: <p>I am compiling HBase using Maven3.</p>
  
  <p>The pom from github <a href="https://github.com/cloudera/hbase/blob/cdh4-0.94.2_4.2.1/pom.xml" rel="noreferrer">https://github.com/cloudera/hbase/blob/cdh4-0.94.2_4.2.1/pom.xml</a> specified some repositories to provide some external jars. But maven 3 doesn't look for jars from these repositories and just throws exception says the jar is not found from mirror.</p>
  
  <p>Here is the repositories from pom.</p>
  
  <pre><code>  &lt;repositories&gt;
  &lt;repository&gt;
    &lt;id&gt;cdh.repo&lt;/id&gt;
    &lt;url&gt;https://repository.cloudera.com/artifactory/cloudera-repos&lt;/url&gt;
    &lt;name&gt;Cloudera Repositories&lt;/name&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
  &lt;/repository&gt;
  
  &lt;repository&gt;
    &lt;id&gt;cdh.snapshots.repo&lt;/id&gt;
    &lt;url&gt;https://repository.cloudera.com/artifactory/libs-snapshot-local&lt;/url&gt;
    &lt;name&gt;Cloudera Snapshots Repository&lt;/name&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;apache release&lt;/id&gt;
    &lt;url&gt;https://repository.apache.org/content/repositories/releases/&lt;/url&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;apache non-releases&lt;/id&gt;
    &lt;name&gt;Apache non-releases&lt;/name&gt;
    &lt;url&gt;http://people.apache.org/~stack/m2/repository&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;java.net&lt;/id&gt;
    &lt;name&gt;Java.Net&lt;/name&gt;
    &lt;url&gt;http://download.java.net/maven/2/&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;codehaus&lt;/id&gt;
    &lt;name&gt;Codehaus Public&lt;/name&gt;
    &lt;url&gt;http://repository.codehaus.org/&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;repository.jboss.org&lt;/id&gt;
    &lt;url&gt;http://repository.jboss.org/nexus/content/groups/public-jboss/&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;ghelmling.testing&lt;/id&gt;
    &lt;name&gt;Gary Helmling test repo&lt;/name&gt;
    &lt;url&gt;http://people.apache.org/~garyh/mvn/&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
  </code></pre>
  
  <p></p>
  
  <p>-----------------------updated 2013-11-28 13:53----------------------------</p>
  
  <p>My bad. The problem is </p>
  
  <pre><code>  &lt;mirrors&gt;
      &lt;mirror&gt; 
          &lt;id&gt;public&lt;/id&gt;
          &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
  &lt;url&gt;http://mavenrepo.mycorp.com:8081/nexus/content/repositories/public&lt;/url&gt;
      &lt;/mirror&gt; 
    &lt;/mirrors&gt;
  </code></pre>
  
  <p><code>&lt;mirrorOf&gt;*&lt;/mirrorOf&gt;</code> should be <code>&lt;mirrorOf&gt;central&lt;/mirrorOf&gt;</code>. By using *, it will be used to handle all download request of all repos. And surely the repo of company doesn't mirror 3rd part repos resources</p>