[ 
https://jira.codehaus.org/browse/MRELEASE-723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297743#comment-297743
 ] 

Mirko Friedenhagen commented on MRELEASE-723:
---------------------------------------------

Robert, thanks for the clarification. 

I had a look into Mark's patch and to me it looks like Mark is on the right 
trail by implementing a DefaultScmTranslator which does not fiddle around at 
all with given tags or urls and is IMHO appropriate out of the box at least for 
Bazaar, Mercurial and Git (and probably even for CVS, as I do not think anyone 
will "release" a version called HEAD anyway). The only SCM I know of which 
fiddles around with urls and tags and branches is Subversion.

So what's next? Mark, will you take care of this issue from now on? When I 
could be of help nonetheless we should find a way to share work, thought 
without a DCVS this will be harder :-).

Regards
Mirko
                
> DCVS tagging commands should store the tag-name (or hash) in the the 
> //project/scm/tag element.
> -----------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-723
>                 URL: https://jira.codehaus.org/browse/MRELEASE-723
>             Project: Maven 2.x Release Plugin
>          Issue Type: New Feature
>          Components: Git, Mercurial, Subversion
>         Environment: Apache Maven 3.0.4-RC3 (r1210461; 2011-12-05 
> 14:58:54+0100)
> Maven home: /usr/local/Cellar/maven/current/libexec
> Java version: 1.6.0_29, vendor: Apple Inc.
> Java home: 
> /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home
> Default locale: de_DE, platform encoding: MacRoman
> OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"
>            Reporter: Mirko Friedenhagen
>            Assignee: Mark Struberg
>             Fix For: 2.4
>
>         Attachments: add-tag-to-release-poms-1329108.patch, 
> add-tag-to-release-poms.patch, MRELEASE-723-idea.patch
>
>
> With SVN the developerConnection and connection are
> updated to the "real" release 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 you 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 
> //project/scm/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.
> See http://markmail.org/thread/m77cvhqqq56krzzd as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to