title: Unable to resolve ${project.version} in child pom.xml from parent pom.xml
body: <p>I have a project hierarchy as :</p>
  
  <pre><code>A - pom.xml
  |__ B - pom.xml
      |__ C - pom.xml
  </code></pre>
  
  <p>The property <code>project.version</code> is defined in pom.xml defined in A. Other two pom's specify the parent tag and the corresponding relative path to the respective parent pom's.</p>
  
  <pre><code>&lt;parent&gt;
          &lt;groupId&gt;com.GRP.id&lt;/groupId&gt;
          &lt;artifactId&gt;ARTIFACT_ID&lt;/artifactId&gt;
          &lt;version&gt;${project.version}&lt;/version&gt;
          &lt;relativePath&gt;../pom.xml&lt;/relativePath&gt;
  &lt;/parent&gt;
  </code></pre>
  
  <p>The issue here is that maven is not able to resolve <strong>${project.version}</strong> and is using it as is. This is throwing the following exception when executed from A/B/C:</p>
  
  <pre><code>[ERROR] The build could not read 1 project -&gt; [Help 1]
  org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
  [FATAL] Non-resolvable parent POM for com.project_name.module_name:sub_module_name:[unknown-version]: Could not transfer artifact com.project_name.module_name:module_name:pom:${project.version} from
  to env-module_name-all-repos (REPO_URL): Illegal character in path at index 96: https://DEMO
  /artifactory/env-module_name-all-repos/com/project_name/module_name/module_name/${project.version}/module_name-${project.version}.pom and 'parent.relativePath' points at wrong
  local POM @ com.project_name.module_name:sub_module_name:[unknown-version], C:\WorkSpaces\Repository\sub_module_name\pom.xml, line 10, column 10
  </code></pre>
  
  <p>Any suggestion on how to access the same from child POMs.</p>