-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Jenkins 1.606, Windows 7
The "Invoke top-level Maven targets" pre-build step is broken when using Maven 3.3.1. The cause appears to be in hudson.tasks.Maven$DecideDefaultMavenCommand, which automatically appends ".bat" if running on Windows. In Maven 3.3.1, mvn.bat was renamed to mvn.cmd.
Obviously this could be fixed but it might be a better idea to move this functionality to the Maven Plugin, which has more sophisticated Maven handling and works fine with 3.3.1.
- duplicates
-
JENKINS-28232 Maven post-build task breaks when using Maven 3.3 on Windows
- Resolved
- is duplicated by
-
JENKINS-27525 Invoke top-level Maven targets fails for Maven 3.3.1 on Windows machine
- Resolved