You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jin Kwon (JIRA)" <ji...@apache.org> on 2016/10/09 04:14:20 UTC
[jira] [Commented] (MRELEASE-963) User property for tagNameFormat
is ignored
[ https://issues.apache.org/jira/browse/MRELEASE-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15559232#comment-15559232 ]
Jin Kwon commented on MRELEASE-963:
-----------------------------------
I just face the same problem.
Overriding with a property doesn't work.
{code:xml}
<properties>
<!-- parent pom has a custom value for this which is "@{project.version} -->
<!-- back to defaults -->
<tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat>
</properties>
{code}
Reassigning with parent value yields an error
{code:xml}
<properties>
<tagNameFormat>@{project.artifactId}-${tagNameFormat}</tagNameFormat>
</properties>
{code}
{code}
... Detected the following recursive expression cycle in 'tagNameFormat': [tagNameFormat] ...
{code}
> User property for tagNameFormat is ignored
> ------------------------------------------
>
> Key: MRELEASE-963
> URL: https://issues.apache.org/jira/browse/MRELEASE-963
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.5.3
> Reporter: Christopher Tubbs
>
> I attempted to override the {{tagNameFormat}} in my pom.xml, using:
> {code:xml}
> <properties>
> <tagNameFormat>custom-@{project.version}</tagNameFormat>
> </properties>
> {code}
> This did not work. The property was completely ignored. It does work if you set the property in the plugin's configuration in the {{<pluginManagement>}} section, though.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)