I’m using the “tagNameFormat” configuration property on the Maven Release plugin to only use the project version as the tag, but it doesn’t seem to have any effect. When I run a mvn release:prepare the suggested tag is still in the form {artifactId}-{version}.
My config is as follows:
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>https://as3-commons.googlecode.com/svn/tags/parent-pom</tagBase>
<tagNameFormat>@{project.version}</tagNameFormat>
<goals>deploy</goals>
</configuration>
</plugin>
Am I missing something here?
Works for me with latest maven (3.0.4) and 2.2.2 of maven release plugin on a mercurial
repository.
Pom snippet
Log