You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Warnecke (JIRA)" <ji...@apache.org> on 2018/01/05 11:57:00 UTC
[jira] [Created] (SCM-858) Configuration for git path
Michael Warnecke created SCM-858:
------------------------------------
Summary: Configuration for git path
Key: SCM-858
URL: https://issues.apache.org/jira/browse/SCM-858
Project: Maven SCM
Issue Type: Improvement
Components: maven-scm-provider-gitexe
Affects Versions: 1.9.5
Reporter: Michael Warnecke
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
(v6.4.14#64029)