title: Maven not able to inherit repository
body: <p>My project is structured like this.</p>
  
  <pre><code>Artifact A
  |- depends on hadoop-client.jar
  |- cloudera repository is added to pom
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code> &lt;repository&gt;
      &lt;snapshots&gt;
          &lt;enabled&gt;false&lt;/enabled&gt;
      &lt;/snapshots&gt;
      &lt;releases&gt;
          &lt;updatePolicy&gt;always&lt;/updatePolicy&gt;
      &lt;/releases&gt;
      &lt;id&gt;central&lt;/id&gt;
      &lt;name&gt;libs-release&lt;/name&gt;
      &lt;url&gt;https://repository.cloudera.com/artifactory/cloudera-repos&lt;/url&gt;
  &lt;/repository&gt;
  </code></pre>
  
  <p>Now, A compiles fine, has been packaged as jar and pushed to artifactory (jfrog one)</p>
  
  <pre><code>Artifact B
  |- depends on A
  |- doesn't have cloudera repo in pom
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;groupId&lt;/groupId&gt;
      &lt;artifactId&gt;artifact_a&lt;/artifactId&gt;
   &lt;/dependency&gt;
  </code></pre>
  
  <p>Artifact B is not able to use repo which was added in A and gives error on compilation.</p>
  
  <pre><code>"Could not find artifact org.apache.hadoop:hadoop-client:jar:2.0.0-cdh4.2.0"
  </code></pre>
  
  <p>Am i missing anything ? 
  Don't want to add cloudera repo in pom of Artifact B.</p>