Hi,

I have a multi-module project and build ever month releases for this modules. 
My process is like:
*       Open release branch: "mvn release:branch"
*       Release allignments
*       Prepare releases: "mvn release:prepare"
*       Perform releases: "mvn release:perform"

For better overview over the various module dependencies the versions are 
stored in properties like:
...
<dependency>
<artifactId>foo</artifactId>
<version>${foo.version}</version>
</dependency>
...
<properties>
  <foo.version>1.2.3-SNAPSHOT</foo.version>
</properties>
...

After "release:branch" the pom.xml snippet changes to:
...
<dependency>
<artifactId>foo</artifactId>
        <version>1.3.0-SNAPSHOT</version>               --> at trunk
        <version>1.2.3</version>                        --> at release branch
</dependency>
...
<properties>
  <foo.version>1.2.3-SNAPSHOT</foo.version>
</properties>
...

Now my nice "dependency management mechnism" over properties does not work any 
more because all those properties are not more used and are not updated. Is 
there a way that the release plugin updates "version properties" instead of 
<version> tags in the branch goal?

Thanks

Reply via email to