release:prepare fails while trying to tag SVN with wrong URL
------------------------------------------------------------

                 Key: MRELEASE-609
                 URL: http://jira.codehaus.org/browse/MRELEASE-609
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.0-beta-8
            Reporter: Phillip Hellewell


If the working copy URL does not match the URL defined in the scm <connection> 
section in the pom, the release plugin mixes things up by using part of the 
path from the working copy URL with the path from the pom.

For example:
* Working copy URL: svn+ssh://usern...@addev/svnrep/core/trunk
* SCM URL in the pom: scm:svn:http://addev/svn/core/trunk

(FYI, these both point to the exact same place in SVN).

The release plugin when doing the tag step will incorrectly try to use a path 
starting with "/svnrep" while using the HTTP protocol.  If it's talking to the 
web server, it should be using "/svn" not "/svnrep".

I tried to workaround the issue by setting remoteTagging=true, and that seemed 
to work once, but it's not working now.


-- 
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