Yes, that has been a problem with the release plugin.

Please see:
http://jira.codehaus.org/browse/MRELEASE-297

Thanks,
Deng

On Jan 25, 2008 6:45 PM, Rex Huang <[EMAIL PROTECTED]> wrote:

> 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
>

Reply via email to