You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/05/14 15:56:15 UTC

[GitHub] [maven-mvnd] mkarg opened a new issue, #651: Path problems in git-for-windows bash

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: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gnodet commented on issue #651: Path problems in git-for-windows bash

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #651:
URL: https://github.com/apache/maven-mvnd/issues/651#issuecomment-1240236733

   Do you have a simple project to reproduce the problem ?


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org