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

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

@Mark: I do not think it will be a problem for Git or Mercurial as there was no 
support for this right now. In regards to subversion using tag is probably 
unneeded as the SCM-URL is unique already? I would be willing to edit the patch 
to exclude the subversion usecase but think it to be valuable for the DVCSes.
                
> 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
>             Fix For: 2.3
>
>         Attachments: add-tag-to-release-poms.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