[
http://jira.codehaus.org/browse/MRELEASE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=266375#action_266375
]
Dave Copeland commented on MRELEASE-159:
----------------------------------------
>From my comment above:
bq. This adds the configuration option tagNameFormat that takes a Java
MessageFormat string, where \{0\} is the artifact name and \{1\} is the version
(as such, the default is \{0\}-\{1\}; what it is currently).
So, if you just wanted the version, you can do
{code:xml}
<tagNameFormat>{1}</tagNameForamt>
{code}
> Support a pattern to generate the release tag
> ---------------------------------------------
>
> Key: MRELEASE-159
> URL: http://jira.codehaus.org/browse/MRELEASE-159
> Project: Maven 2.x Release Plugin
> Issue Type: New Feature
> Components: prepare
> Affects Versions: 2.0-beta-4
> Reporter: Joerg Schaible
> Fix For: 2.2
>
> Attachments: MRELEASE-159-PATCH-2-0.patch,
> MRELEASE-159-PATCH-update.diff.gz, MRELEASE-159-PATCH.diff.gz,
> release-manager(updated).patch, release-manager-patch.patch
>
>
> The release-plugin uses currently the pattern "<artifactId>-<version>" to
> create the version tag. A configuration element would be fine to support
> different requirements for release tags (in our case "v_<version>", since
> with svn the module is already part of the path).
--
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