title: Maven version not getting updated in the .POM file
body: <p>I am using Maven for building my code. I created module based maven structure like below</p>
  
  <ul>
  <li>Parent-POM
  <ul>
  <li>Sub-Parent1
  <ul>
  <li>SP1_Child1</li>
  <li>SP1_Child2</li>
  <li>SP1_Child3</li>
  </ul></li>
  <li>Sub-Parent2
  <ul>
  <li>SP2_Child1</li>
  <li>SP2_Child2</li>
  <li>SP2_Child3</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>All my module versions, and external dependency versions are maintained in the Parent POM. Everything works fine when I do a complete mvn install, but when I try to build one sub module like SP1_Child1, then the build fails, because it is not able to identify the version of its dependencies. I checked the maven repository in my local machine, and all my modules were installed, but the .POM files do not have the version numbers. This is probably because the where the mvn install on the Parent POM is not replacing the ${module.version} with the actual version for the child modules. </p>
  
  <p>Parent-POM</p>
  
  <pre><code>&lt;project ..&gt;  
  
    &lt;groupId&gt;the.company.project&lt;/groupId&gt;
    &lt;artifactId&gt;Parent-POM&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    ...
  
    &lt;properties&gt;
       &lt;module.version&gt;1.0&lt;/module.version&gt;
    &lt;/properties&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>SP1_Child1</p>
  
  <pre><code>&lt;project ..&gt;  
  
    &lt;parent&gt;
    ...
    &lt;/parent&gt;
  
    &lt;groupId&gt;the.company.project&lt;/groupId&gt;
    &lt;artifactId&gt;SP1_Child1&lt;/artifactId&gt;
    &lt;version&gt;${module.version}&lt;/version&gt;
    ...
  
  &lt;/project&gt;
  </code></pre>
  
  <p>How how can my mvn install update the versions in the .POM files in the maven repository? Or how can I run one of my sub-modules without any version errors?</p>