iofit commented on code in PR #55: URL: https://github.com/apache/maven-invoker/pull/55#discussion_r991477666
########## src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java: ########## @@ -663,6 +663,12 @@ private File detectMavenExecutablePerOs( File baseDirectory, String executable ) { return executableFile; } + + executableFile = new File( baseDirectory, executable + ".ps1" ); + if ( executableFile.isFile() ) + { + return executableFile; + } Review Comment: I moved up ps1 then check for cmd and bat -- 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-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org