What is the difference between scm:tag
:
<scm>
<connection>scm:git:code.stuff.com/scm/project/repo.git</connection>
<developerConnection>scm:git:ssh://git@code.stuff.com:7999/project/repo.git</developerConnection>
<tag>HEAD</tag>
</scm>
and release:prepare:tag:
?
I read that during the release:prepare
goal, user is prompted with the desired tag-name to stick; after preparation is successfully completed, Maven will tag the release candidate in the VCS with the passed name. At this point, what is the use of scm:tag
?
The <scm><tag>
is not used, the release:prepare will create a tag in SCM using the version.
I would delete it and let it choose the default, which is the in the pom (WITH THE SNAPSHOT REMOVED).