Our organization uses tags in which are the product version and only the product version:
/tags
/2.0.1
/2.0.2
....
/2.1.12
The default value of <tag> is "${project.artifactId}-${project.version}" as specified in MRELEASE-53.
However, when I specify the value of <tag> as follows:
<tag>${project.version}</tag> -or- <tag>${version}</tag>
release:prepare resolves this to "artifact-x.y.z-SNAPSHOT".
In other words, when a <tag> is specified, it is taken before the release process finalizes the release number.
While I can specify the release on the command line, I need to be able to batch mode this process.
<tag>${project.version}</tag> should resolve to: "2.0.2" (or x.y.z).
same problem here.
useing <tag>${version}</tag> resolves into "snapshot" versions in the final TAG name.
maybe we should change tag info "prefix-tag" and append runtime version during release proces.