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

Performing a release with localCheckout fail on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.6
    • None
    • None
    • Windows Vista, msysgit, Maven 3.0.0

    Description

      When trying to perform a release on a Windows machine with localCheckout set to true, I get the following error message. The path 'C:\Users\daspilker\workspaces\myproject' is a git repository.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:perform (default-cli) on project warp:
      Unable to checkout from SCM
      [ERROR] Provider message:
      [ERROR] The git-clone command failed.
      [ERROR] Command output:
      [ERROR] fatal: 'C\Users\daspilker\workspaces\myproject' does not appear to be a git repository
      [ERROR] fatal: The remote end hung up unexpectedly
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :myproject
      

      Attachments

        1. GitScmProviderRepository.patch
          2 kB
          Thorsten Gawantka

        Issue Links

          Activity

            People

              struberg Mark Struberg
              daniel.spilker@hamburg.de Daniel Spilker
              Votes:
              15 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: