title: Maven project version as expression, not constant
body: <p>I want to version my parent project differently than the rest of the modules that depend on it, for which I want to have common version. </p>
  
  <p>This is since my parent is defining <code>dependencyManagement</code>, <code>distributionManagement</code>, <code>buildManagement</code>, <code>*Management</code>... Parent project really has quite different lifecycle than the rest of the modules. It updates seldomly. It would almost never update if not changing the version for the rest of the modules.</p>
  
  <p>I basically want to do </p>
  
  <pre><code>&lt;parent&gt;
     &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
     &lt;artifactId&gt;myparent&lt;/artifactId&gt;
     &lt;version&gt;5&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
  &lt;artifactId&gt;myApp&lt;/artifactId&gt;
  &lt;version&gt;${next-version}&lt;/version&gt;
  </code></pre>
  
  <p>and in the parent</p>
  
  <pre><code>   &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
     &lt;artifactId&gt;myparent&lt;/artifactId&gt;
     &lt;version&gt;5&lt;/version&gt;
     &lt;properties&gt;
            &lt;next-version&gt;1.2.1-SNAPSHOT&lt;/next-version&gt;
     &lt;/properties&gt;
  </code></pre>
  
  <p>While typing this it occurred to me - should this be done by having intermediate parent?</p>