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 F077EEF8C for ; Tue, 25 Jun 2013 21:06:29 +0000 (UTC) Received: (qmail 82526 invoked by uid 500); 25 Jun 2013 21:06:29 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 82476 invoked by uid 500); 25 Jun 2013 21:06:29 -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 82468 invoked by uid 99); 25 Jun 2013 21:06:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 21:06:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 21:06:24 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6FD2EB1044 for ; Tue, 25 Jun 2013 16:06:03 -0500 (CDT) Date: Tue, 25 Jun 2013 16:06:03 -0500 (CDT) From: "Robert Scholte (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MRELEASE-695) tagNameFormat with @{project.version} tags the SNAPSHOT version MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MRELEASE-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=327342#comment-327342 ] Robert Scholte commented on MRELEASE-695: ----------------------------------------- [~mweiss], you shouldn't be using the dollar-sign, but the at-sign. When using the {{$}} Maven will use the resolved value, which is still a -SNAPSHOT at that moment. > tagNameFormat with @{project.version} tags the SNAPSHOT version > --------------------------------------------------------------- > > Key: MRELEASE-695 > URL: https://jira.codehaus.org/browse/MRELEASE-695 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: prepare > Affects Versions: 2.2 > Reporter: Fabrizio Giudici > Attachments: test-artifact.zip > > > The much awaited (by me) MRELEASE-159 seems not to work. I tried a release with the following pom: > {code:xml} > > org.apache.maven.plugins > maven-release-plugin > > true > clean install verify > clean install javadoc:javadoc assembly:assembly deploy > -P${release.profiles} -DaltDeploymentRepository="${altDeploymentRepository}" > @{project.version} > > > {code} > but I got the tag {{1.0-ALPHA-2-SNAPSHOT}} in place of {{1.0-ALPHA-2}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira