I set artifact version using properties in pom file:
<properties>
<product.version>1.0-SNAPSHOT</product.version>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>${product.version}</version>
<name>my-app</name>
<url>http://maven.apache.org</url>
after release:perform, the pom file changed to:
<properties>
<product.version>1.0-SNAPSHOT</product.version>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.1-SNAPSHOT</version>
<name>my-app</name>
<url>http://maven.apache.org</url>
this is not I want, I expect is:
<properties>
<product.version>1.1-SNAPSHOT</product.version>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>${product.version}</version>
<name>my-app</name>
<url>http://maven.apache.org</url>
I think this is a problem.
BR//Rex