Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22A857592 for ; Wed, 3 Aug 2011 20:49:11 +0000 (UTC) Received: (qmail 46492 invoked by uid 500); 3 Aug 2011 20:49:10 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 46406 invoked by uid 500); 3 Aug 2011 20:49:09 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 46398 invoked by uid 99); 3 Aug 2011 20:49:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 20:49:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 20:49:05 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2EDBD14A804A for ; Wed, 3 Aug 2011 15:48:43 -0500 (CDT) Date: Wed, 3 Aug 2011 15:48:43 -0500 (CDT) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Message-ID: <12844884.29421.1312404523184.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <15702406.29218.1312373442503.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Commented: (MRELEASE-699) release:update-versions should support -DreleaseVersion too (not only -DdevelopmentVersion), so it also supports not suffixing the version with -SNAPSHOT MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 [ https://jira.codehaus.org/browse/MRELEASE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274925#comment-274925 ] Brett Porter commented on MRELEASE-699: --------------------------------------- Would you mind attaching it as a patch to JIRA? We can't use the github feature directly. Thanks! > release:update-versions should support -DreleaseVersion too (not only -DdevelopmentVersion), so it also supports not suffixing the version with -SNAPSHOT > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MRELEASE-699 > URL: https://jira.codehaus.org/browse/MRELEASE-699 > Project: Maven 2.x Release Plugin > Issue Type: Improvement > Reporter: Geoffrey De Smet > > The documentation > http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html > states "The update-versions goal can use the same properties used by the prepare goal for specifying the versions to be used." > That's not true, as releaseVersion is not supported: > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#releaseVersion > This means, that if you do this: > mvn --batch-mode release:update-versions -DdevelopmentVersion=1.2.0 > that the set version is not 1.2.0, but in fact 1.2.0-SNAPSHOT. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira