[ http://jira.codehaus.org/browse/MRELEASE-107?page=comments#action_65298 ] 

Emmanuel Venisse commented on MRELEASE-107:
-------------------------------------------

The url rewriting mustn't use resolveUrl method from SvnTagBranchUtils because 
this method is only for scm urls and the calcul is based only on tagBase.
The release plugin must have this own method for rewriting the url that can be 
totally independant of path in svn (like viewcvs urls)

> scm.url gets translated incorrectly during release
> --------------------------------------------------
>
>          Key: MRELEASE-107
>          URL: http://jira.codehaus.org/browse/MRELEASE-107
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Versions: 2.0-beta-4
>     Reporter: Brian Fox
>     Assignee: Emmanuel Venisse

>
>
> Testing release 2.0-beta4. My original scm urls are like this:
>  <scm>
>     
> <connection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/release-branches/dsms-2.1</connection>
>     
> <developerConnection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/release-branches/dsms-2.1</developerConnection>
>     
> <url>http://sv1.tus.stchome.com/viewvc/stc/products/dsms/release-branches/dsms-2.1</url>
>   </scm>
> after the prepare, they end up like this:
>  <scm>
>     
> <connection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/build-tags/t5</connection>
>     
> <developerConnection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/build-tags/t5</developerConnection>
>     
> <url>http://sv1.tus.stchome.com/svn/training/products/dsms/build-tags/t5</url>
>   </scm>
> Notice the url lost the viewvc reference and ended up with a direct svn url. 
> After a release:perform, the url ends up back to viewvc so only the tag is 
> modified.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to