You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Trenton D. Adams (JIRA)" <ji...@codehaus.org> on 2011/04/15 19:17:22 UTC
[jira] Created: (MRELEASE-677) tags with project properties
tags with project properties
----------------------------
Key: MRELEASE-677
URL: http://jira.codehaus.org/browse/MRELEASE-677
Project: Maven 2.x Release Plugin
Issue Type: New Feature
Components: prepare
Reporter: Trenton D. Adams
I would like to be able to use project properties in the <tag> element for the plugin configuration. Unfortunately, it uses values that were in the SNAPSHOT version of the pom, not the current version. So, when I use project.version as the tag name, it says 3.0.1-SNAPSHOT, rather than 3.0.1.
This is what I had...
<tag>${project.version}</tag>
--
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
[jira] (MRELEASE-677) tags with project properties
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MRELEASE-677.
-----------------------------------
Resolution: Duplicate
Assignee: Robert Scholte
Closing it as a duplicate of MRELEASE-159 which has been released with version 2.2.0
This contains a feature to specify the tagNameFormat. In this case you should use @{project.version}
> tags with project properties
> ----------------------------
>
> Key: MRELEASE-677
> URL: https://jira.codehaus.org/browse/MRELEASE-677
> Project: Maven 2.x Release Plugin
> Issue Type: New Feature
> Components: prepare
> Reporter: Trenton D. Adams
> Assignee: Robert Scholte
>
> I would like to be able to use project properties in the <tag> element for the plugin configuration. Unfortunately, it uses values that were in the SNAPSHOT version of the pom, not the current version. So, when I use project.version as the tag name, it says 3.0.1-SNAPSHOT, rather than 3.0.1.
> This is what I had...
> <tag>${project.version}</tag>
--
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
[jira] Commented: (MRELEASE-677) tags with project properties
Posted by "Trenton D. Adams (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263709#action_263709 ]
Trenton D. Adams commented on MRELEASE-677:
-------------------------------------------
For anyone using linux (or mac maybe), I have a workaround. :P
mvn -DdryRun=true -Dtag=$(xpath pom.xml '/project/version/text()' | sed 's/-SNAPSHOT//' ) release:prepare
> tags with project properties
> ----------------------------
>
> Key: MRELEASE-677
> URL: http://jira.codehaus.org/browse/MRELEASE-677
> Project: Maven 2.x Release Plugin
> Issue Type: New Feature
> Components: prepare
> Reporter: Trenton D. Adams
>
> I would like to be able to use project properties in the <tag> element for the plugin configuration. Unfortunately, it uses values that were in the SNAPSHOT version of the pom, not the current version. So, when I use project.version as the tag name, it says 3.0.1-SNAPSHOT, rather than 3.0.1.
> This is what I had...
> <tag>${project.version}</tag>
--
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