[ 
https://issues.apache.org/jira/browse/SCM-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963404#comment-17963404
 ] 

ASF GitHub Bot commented on SCM-858:
------------------------------------

jira-importer opened a new issue, #1084:
URL: https://github.com/apache/maven-scm/issues/1084

   **[Michael 
Warnecke](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mwarnecke)**
 opened 
**[SCM-858](https://issues.apache.org/jira/browse/SCM-858?redirect=false)** and 
commented
   
   When git is not in `$PATH`, executions of maven builds using 
maven-scm-provider-gitexe will fail with a message like this:
   
   ```
   [ERROR] Failed to execute goal 
org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project 
test: Cannot get the
    revision information from the scm repository :
   [ERROR] Exception while executing SCM command. Error while executing 
command. Error while executing process. Cannot run program "git" (in di
   rectory "C:\dev\test"): CreateProcess error=2, Das System kann die ang
   egebene Datei nicht finden
   ```
   
   Some configuration for the path to git's executable is desirable.
   
   
   ---
   
   **Affects:** 1.9.5
   
   **Issue Links:**
   - [SCM-837](https://issues.apache.org/jira/browse/SCM-837) SVNEXE Provider: 
enable setting env, path, or full path to svn.exe
   
   - [SCM-873](https://issues.apache.org/jira/browse/SCM-873) Improve 
documentation on svn-settings.xml and git-settings.xml
   
   




> Configuration for git path
> --------------------------
>
>                 Key: SCM-858
>                 URL: https://issues.apache.org/jira/browse/SCM-858
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Improvement
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.9.5
>            Reporter: Michael Warnecke
>            Priority: Major
>
> When git is not in {{$PATH}}, executions of maven builds using 
> maven-scm-provider-gitexe will fail with a message like this:
> {code}
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project 
> test: Cannot get the
>  revision information from the scm repository :
> [ERROR] Exception while executing SCM command. Error while executing command. 
> Error while executing process. Cannot run program "git" (in di
> rectory "C:\dev\test"): CreateProcess error=2, Das System kann die ang
> egebene Datei nicht finden
> {code}
> Some configuration for the path to git's executable is desirable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to