maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (MRELEASE-963) User property for tagNameFormat is ignored
Date Thu, 15 Sep 2016 21:24:21 GMT


Christopher Tubbs commented on MRELEASE-963:

I just ran with {{-X}} and it looks like it's getting the {{<tagNameFormat>}} from the
parent POM, and ignoring the property override.

You said above that you can't overwrite it if it's already set in the effective POM, but I
could've sworn I've seen user properties override plugin configuration before. Regardless,
this unintuitive behavior seems like it's not an issue specific to maven-release-plugin, but
a more general unintuitive behavior in Maven core.

Thanks for assisting me in debugging this.

> User property for tagNameFormat is ignored
> ------------------------------------------
>                 Key: MRELEASE-963
>                 URL:
>             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

View raw message