Hi,
I'm using property node to set the version of the project dependencies.
<properties>
<aaa-version>1.1.17-SNAPSHOT</aaa-version>
<bbb-version>1.1.14-SNAPSHOT</bbb-version>
</properties>
<dependencies>
<dependency>
<groupId>com.aaa.common</groupId>
<artifactId>aaa</artifactId>
<version>${aaa-version}</version>
</dependency>
<dependency>
<groupId>com.bbb.common</groupId>
<artifactId>bbb</artifactId>
<version>${bbb-version}</version>
</dependency>
<dependencies>
When I execute the release:prepare command the plugin updates the version in
the dependency node and not in the property node for both the next
development pom and the released pom.
Released POM:
<properties>
<aaa-version>1.1.17-SNAPSHOT</aaa-version>
<bbb-version>1.1.14-SNAPSHOT</bbb-version>
</properties>
<dependencies>
<dependency>
<groupId>com.aaa.common</groupId>
<artifactId>aaa</artifactId>
<version>1.1.17</version>
</dependency>
<dependency>
<groupId>com.bbb.common</groupId>
<artifactId>bbb</artifactId>
<version>1.1.14</version>
</dependency>
<dependencies>
Next dev POM:
<properties>
<aaa-version>1.1.17-SNAPSHOT</aaa-version>
<bbb-version>1.1.14-SNAPSHOT</bbb-version>
</properties>
<dependencies>
<dependency>
<groupId>com.aaa.common</groupId>
<artifactId>aaa</artifactId>
<version>1.1.18-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.bbb.common</groupId>
<artifactId>bbb</artifactId>
<version>1.1.15-SNAPSHOT</version>
</dependency>
<dependencies>
Is there any way I can instruct the plugin to update the versions in the
property node?
Thanks
Igal
--
View this message in context:
http://maven.40175.n5.nabble.com/Release-plugin-and-properties-node-tp3372090p3372090.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]