title: Maven - Access properties on parent pom from a child pom
body: <p>In a multi module project structure as</p>
  
  <pre><code>myApp
  |-moduleA
  |---pom.xml
  |-moduleB
  |---pom.xml
  |-pom.xml
  </code></pre>
  
  <p>If i have the following properties in the parent.pom</p>
  
  <pre><code>  &lt;properties&gt;
     &lt;moduleA.version&gt;4.67&lt;/moduleA.version&gt;
     &lt;moduleB.version&gt;4.68&lt;/moduleB.version&gt;
    &lt;/properties&gt;  
  </code></pre>
  
  <p>How can i access the properties in the parent pom from any of the child poms? I tried this on the child pom but it didnt work. </p>
  
  <pre><code>  &lt;groupId&gt;com.test&lt;/groupId&gt;
    &lt;artifactId&gt;moduleA&lt;/artifactId&gt;
    &lt;version&gt;${moduleA.version}&lt;/version&gt;
  </code></pre>