Build fails when running "Invoke top-level Maven targets" in Windows machine with Maven 3.3.1
The MAVEN_HOME is properly configured in the global configuration of Jenkins.
The error message is that no executable could be found in the Maven installation.
After inspecting the Maven 3.3.1 release, I noticed that the Windows executable is now .cmd instead of .bat.
I could not find a motivation for such a change though.
In any case, I presume the Maven plugin for Jenkins somehow references the extension.
- duplicates
-
JENKINS-27705 Maven pre-build step is broken with Maven 3.3.1
-
- Resolved
-
-
JENKINS-28232 Maven post-build task breaks when using Maven 3.3 on Windows
-
- Resolved
-
- is related to
-
JENKINS-28070 Maven 3.3.1 build fails on Unix if this Maven version doesn't match with the one in $PATH
-
- Closed
-
- links to
The reasone for the change from .bat do .cmd is MNG-5776.