title: Maven child project build failure
body: <p>Data-Layer pom file:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;  
     &lt;parent&gt;
        &lt;groupId&gt;com.ehr&lt;/groupId&gt;
        &lt;artifactId&gt;parentEHR&lt;/artifactId&gt;
        &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
     &lt;/parent&gt;
  
     &lt;artifactId&gt;Data-Layer&lt;/artifactId&gt;
     &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Core-layer pom file</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  
     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
     &lt;parent&gt;
        &lt;groupid&gt;com.ehr&lt;/groupid&gt;
        &lt;artifactId&gt;parentEHR&lt;/artifactId&gt;
        &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
     &lt;/parent&gt;
  
     &lt;artifactId&gt;Core-Layer&lt;/artifactId&gt;
     &lt;packaging&gt;jar&lt;/packaging&gt;
  
     &lt;dependencies&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;com.ehr&lt;/groupId&gt;
           &lt;artifactId&gt;Data-Layer&lt;/artifactId&gt;
           &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
        &lt;/dependency&gt;
     &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Failed to execute goal on project Core-Layer: Could not resolve dependencies for project com.ehr:Core-Layer:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.ehr:Data-Layer:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.ehr:Data-Layer:jar:0.0.1-SNAPSHOT: Could not find artifact com.ehr:parentEHR:pom:0.0.1-SNAPSHOT -> [Help 1]</p>
  </blockquote>
  
  <p>The above error occurs.</p>
  
  <p>Can any one help me?</p>