mkarg opened a new issue, #651:
URL: https://github.com/apache/maven-mvnd/issues/651

   I am currently evaluating `mvnd` on Windows and found a strange path problem.
   
   When executing `mvn clean verify` from CMD, PowerShell, or 
git-for-windows-bash, then I can build my sample project just fine.
   
   When executing `mvnd clean verify` *from CMD or PowerShell*, then I still 
can build my sample project just fine (and, BTW, much faster).
   
   But when ececuting `mvnd clean verify` *from git-for-windows-bash*, then 
apparently the buildnumber-maven-plugin is unable to find the git binary (which 
is in particularly weird as this is git-for-windows-bash actually!):
   
   ```
   [ERROR] Failed to execute goal 
org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project 
jakarta.ws.rs-api: Cannot get the branch information from the scm repository :
   [ERROR] Exception while executing SCM command.: Error while executing 
command. Error while executing process. Cannot run program "git" (in directory 
"C:\Users\markus\git\jaxrs-api-master\jaxrs-api"): CreateProcess error=2, 
System cannot find the specified file
   ```
   
   Is this a bug of `mvnd` or is there something the installation instructions 
are missing?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to