[ https://jira.codehaus.org/browse/MRELEASE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-557: ------------------------------------ Component/s: (was: perform) prepare Description: For example this pom. {code:xml} <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> {code:xml} 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. was: 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. > release:prepare does not update the version of a reactor plugin > --------------------------------------------------------------- > > Key: MRELEASE-557 > URL: https://jira.codehaus.org/browse/MRELEASE-557 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: prepare > Affects Versions: 2.0 > Reporter: Frank Ressel > > For example this pom. > {code:xml} > <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> > {code:xml} > 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira