You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jan Arend Jansen (JIRA)" <ji...@codehaus.org> on 2008/12/22 16:19:20 UTC

[jira] Issue Comment Edited: (MRELEASE-297) release doesn't bump versions in properties to the next dev iteration

    [ http://jira.codehaus.org/browse/MRELEASE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158964#action_158964 ] 

Jan Arend Jansen edited comment on MRELEASE-297 at 12/22/08 9:17 AM:
---------------------------------------------------------------------

Before 
{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>nl.test</groupId>
  <artifactId>release-test</artifactId>
  <packaging>pom</packaging>
  <name>Test Releases</name>
  <version>0.0.2-SNAPSHOT</version>
  <modules>
  	<module>release-module1</module>
  </modules>
  <properties>
  	<module1.version>0.0.2-SNAPSHOT</module1.version>
  </properties>
  <build>
  	<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-8</version>
			</plugin>	
  	</plugins>
  </build>
  <dependencyManagement>
  	<dependencies>
  		<dependency>
  			<groupId>nl.test</groupId>
  			<artifactId>release-module1</artifactId>
  			<version>${module1.version}</version>
  		</dependency>
  	</dependencies>
  </dependencyManagement>
  <scm>
  	<connection>scm:svn:https://****/svn/repos/tests/trunk/</connection>
  </scm>
</project>
{code}

After:
{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>nl.test</groupId>
  <artifactId>release-test</artifactId>
  <packaging>pom</packaging>
  <name>Test Releases</name>
  <version>0.0.3-SNAPSHOT</version>
  <modules>
  	<module>release-module1</module>
  </modules>
  <properties>
  	<module1.version>0.0.2</module1.version>
  </properties>
  <build>
  	<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-8</version>
			</plugin>	
  	</plugins>
  </build>
  <dependencyManagement>
  	<dependencies>
  		<dependency>
  			<groupId>nl.test</groupId>
  			<artifactId>release-module1</artifactId>
  			<version>${module1.version}</version>
  		</dependency>
  	</dependencies>
  </dependencyManagement>
  <scm>
  	<connection>scm:svn:https://****/svn/repos/tests/trunk/</connection>
  </scm>
</project>
{code}

      was (Author: jajansen):
    Before 
{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>nl.test</groupId>
  <artifactId>release-test</artifactId>
  <packaging>pom</packaging>
  <name>Test Releases</name>
  <version>0.0.2-SNAPSHOT</version>
  <modules>
  	<module>release-module1</module>
  </modules>
  <properties>
  	<module1.version>0.0.2-SNAPSHOT</module1.version>
  </properties>
  <build>
  	<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-8</version>
			</plugin>	
  	</plugins>
  </build>
  <dependencyManagement>
  	<dependencies>
  		<dependency>
  			<groupId>nl.test</groupId>
  			<artifactId>release-module1</artifactId>
  			<version>${module1.version}</version>
  		</dependency>
  	</dependencies>
  </dependencyManagement>
  <scm>
  	<connection>scm:svn:https://****/svn/repos/tests/trunk/</connection>
  </scm>
</project>
{code}

After:
{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>nl.test</groupId>
  <artifactId>release-test</artifactId>
  <packaging>pom</packaging>
  <name>Test Releases</name>
  <version>0.0.3-SNAPSHOT</version>
  <modules>
  	<module>release-module1</module>
  </modules>
  <properties>
  	<module1.version>0.0.2</module1.version>
  </properties>
  <build>
  	<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-8</version>
			</plugin>	
  	</plugins>
  </build>
  <dependencyManagement>
  	<dependencies>
  		<dependency>
  			<groupId>nl.test</groupId>
  			<artifactId>release-module1</artifactId>
  			<version>${module1.version}</version>
  		</dependency>
  	</dependencies>
  </dependencyManagement>
  <scm>
  	<connection>scm:svn:https://****/svn/repos/tests/trunk/</connection>
  </scm>
</project>
{code}
  
> release doesn't bump versions in properties to the next dev iteration
> ---------------------------------------------------------------------
>
>                 Key: MRELEASE-297
>                 URL: http://jira.codehaus.org/browse/MRELEASE-297
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-6, 2.0-beta-7
>            Reporter: Brian Fox
>            Assignee: Maria Odea Ching
>
> Properties used as versions are correctly updated to the release version and committed, but they are not bumped to the next snapshot after.

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