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

Building maven-scm-1.6 requires a native install of git.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.7
    • None
    • Windows XP
      maven 2.2.1

    Description

      Check out a fresh copy of maven-scm-1.6 and attempt to build via "mvn clean install" and it fails due to a missing native git.exe not being present.

      Running org.apache.maven.scm.provider.git.gitexe.command.checkout.GitExeCheckOutCommandNoBranchTest
      [INFO] Executing: cmd.exe /X /C "git clone C\Workspaces\\maven-scm-1.6\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe\src\test\resources\repository_no_branch C:\Workspaces\maven-scm-1.6\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe\target\checkin-nobranch"
      [INFO] Working directory: C:\Workspaces\maven-scm-1.6\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe\target
      ----------------------------------------------------------------------
      Provider message
      ----------------------------------------------------------------------
      The git-clone command failed.
      ----------------------------------------------------------------------
      ----------------------------------------------------------------------
      Command output
      ----------------------------------------------------------------------
      'git' is not recognized as an internal or external command,
      operable program or batch file.

      ----------------------------------------------------------------------
      [INFO] Executing: cmd.exe /X /C "git clone C\Workspaces\maven-scm-1.6\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe\src\test\resources\repository_no_branch C:\Workspaces\maven-scm-1.6\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe\target\checkin-nobranch"
      [INFO] Working directory: C:\Workspaces\maven-scm-1.6\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe\target
      ----------------------------------------------------------------------
      Provider message
      ----------------------------------------------------------------------
      The git-clone command failed.
      ----------------------------------------------------------------------
      ----------------------------------------------------------------------
      Command output
      ----------------------------------------------------------------------
      'git' is not recognized as an internal or external command,
      operable program or batch file.

      Attachments

        1. git-no-exe.patch
          5 kB
          Chris Graham
        2. git-test-fail.patch
          2 kB
          Chris Graham

        Activity

          People

            olamy Olivier Lamy
            chrisgwarp Chris Graham
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: