[
https://jira.codehaus.org/browse/SCM-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Graham updated SCM-656:
-----------------------------
Attachment: git-no-exe.patch
Indeed so you had. Here is a slightly more elegant means of doing the same
thing, and it is more consistent with the way that the other providers are
tested (which is my preference).
> Building maven-scm-1.6 requires a native install of git.
> --------------------------------------------------------
>
> Key: SCM-656
> URL: https://jira.codehaus.org/browse/SCM-656
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-git
> Affects Versions: 1.6
> Environment: Windows XP
> maven 2.2.1
> Reporter: Chris Graham
> Assignee: Olivier Lamy
> Fix For: 1.7
>
> Attachments: git-no-exe.patch, git-test-fail.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira