Hi Mirko,
Did you have a look at the related code? http://maven.apache.org/scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/xref/org/apache/maven/scm/provider/git/gitexe/command/tag/GitTagCommand.html -Robert > From: mfriedenha...@gmail.com > Date: Sat, 17 Dec 2011 20:51:02 +0100 > Subject: Re: maven-release-plugin: using git where do I see the tag used to > build the release in the pom? > To: users@maven.apache.org > > No comments on this? How would a scm:bootstrap know which tag to build with > git? > > Regards Mirko > > On Fri, Dec 16, 2011 at 22:58, Mirko Friedenhagen > <mfriedenha...@gmail.com> wrote: > > Hello, > > > > I know that with SVN the developerConnection and connection are > > updated to the "real" URL, that is when I invoke release:prepare with > > a URL like: > > https://SVNSERVER/svn/REPO/myproject/branches/release it will be > > replaced by https://SVNSERVER/svn/REPO/myproject/tags/myproject-1.0 > > which is fine because now I know which revision to checkout for > > building the release. > > > > With git there is no such possibility to realize this with rewriting > > the URL AFAIK. So I would have expected however, that maybe the <tag> > > element would be updated to reflect the fact, that the pom is the one > > of release, either to the "symbolic name" myproject-1.0 or to the hash > > of the tag. > > > > Regards Mirko > > -- > > http://illegalstateexception.blogspot.com/ > > https://github.com/mfriedenhagen/ > > https://bitbucket.org/mfriedenhagen/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org