You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2012/01/27 23:48:03 UTC

[jira] (MRELEASE-691) tagNameFormat property interpolation does not use the release values but the project ones

     [ https://jira.codehaus.org/browse/MRELEASE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-691.
-----------------------------------

    Resolution: Duplicate
      Assignee: Robert Scholte

Duplicate of MRELEASE-697
                
> tagNameFormat property interpolation does not use the release values but the project ones
> -----------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-691
>                 URL: https://jira.codehaus.org/browse/MRELEASE-691
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare, scm
>    Affects Versions: 2.2
>            Reporter: Julien Nicoulaud
>            Assignee: Robert Scholte
>            Priority: Minor
>         Attachments: maven-release-plugin-tagNameFormat.log
>
>
> The property interpolation in the [tagNameFormat option|http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#tagNameFormat] is counterintuitive, one would expect it to use the release value for the project version, but instead the project SNAPSHOT version is used.
> For example, with <tagNameFormat>@{project.version}</tagNameFormat> (see attached log):
> {noformat} 
> What is the release version for "flexlib"? (com.google.code.flexlib:flexlib-parent) 2.6: 2.6-M2 
> What is SCM release tag or label for "flexlib"? (com.google.code.flexlib:flexlib-parent) 2.6-SNAPSHOT: 
> {noformat} 
> => The version should be 2.6-M2 I just entered here, not the project SNAPSHOT one.

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