title: Maven2 cannot find parent from relative path
body: <p>I'm trying to use Maven2 but my child projects cannot find the parent project.</p>
  
  <p>Directory structure is as follows:</p>
  
  <pre><code>--parent
    --pom.xml
  --child
    --pom.xml
  </code></pre>
  
  <p>Child pom.xml file looks like:</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;com.mycompany.app&lt;/groupId&gt;
      &lt;artifactId&gt;myapp&lt;/artifactId&gt;
      &lt;version&gt;${app.version}&lt;/version&gt;
      &lt;relativePath&gt;.../parent/pom.xml&lt;/relativePath&gt;
  &lt;/parent&gt;
  </code></pre>
  
  <p>However when I use maven it doesn't even seem to look in the relative path, it seems to try and download it from the maven repository.  It's obviously not in the repo.  I want it to look at the relative path.  What am I doing wrong?  Here's the error message:</p>
  
  <pre><code>[INFO] Scanning for projects...
  Downloading: http://repo1.maven.org/maven2/com/mycompany/app/myapp/${app.version}/myapp-
  ${app.version}.pom
  [INFO] Unable to find resource 'com.mycompany.app:myapp:pom:${app.version}' in reposit
  ory central (http://repo1.maven.org/maven2)
  [INFO] ------------------------------------------------------------------------
  [ERROR] FATAL ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] Error building POM (may not be this project's POM).
  
  
  Project ID: null:web:jar:null
  
  Reason: Cannot find parent: com.mycompany.app:myapp for project: null:web:jar:null for
   project null:web:jar:null
  </code></pre>