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

Configuration for git path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.9.5
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              MWarnecke Michael Warnecke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: