Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-734

SVN branching fails with svn+ssh://username@host URL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.9.5
    • Component/s: maven-scm-provider-svn
    • Labels:
      None
    • Flags:
      Patch

      Description

      When using the "branch" goal of the maven-release-plugin, the following error occurs when the SVN URL of the working copy includes the username (e.g. svn+ssh://user@svn.example.com/svn/test/trunk):

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:branch (default-cli) on project test: Unable to branch SCM
      [ERROR] Provider message:
      [ERROR] The svn branch command failed.
      [ERROR] Command output:
      [ERROR] svn: Source and dest appear not to be in the same repository (src: 'svn+ssh://svn.example.com/svn/test/trunk'; dst: 'svn+ssh://user@svn.example.com/svn/test/branches/test-3.x')
      

      This error is similar to the problem described by SCM-696.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olamy Olivier Lamy (*$^¨%`£)
                Reporter:
                rwegmann Raúl Wegmann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: