release:prepare does not update the version of a reactor plugin
---------------------------------------------------------------
Key: MRELEASE-557
URL: http://jira.codehaus.org/browse/MRELEASE-557
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: perform
Affects Versions: 2.0
Reporter: Frank Ressel
For example this pom.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>example-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>example</groupId>
<artifactId>example-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>example-plugin</module>
</modules>
</project>
With "release:prepare", the version of the example-plugin in the build section
stays untouched.
BTW: Is the pluginManagement totally ignored? I even don't get an error, if I
use SNAPSHOT versions in the pluginManagement section.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira