Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28373

apache maven 3.3.3 cannot be invoked anymore on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Jenkins Node running on Windows

      The new apache maven version 3.3.3 has removed the "mvn.bat" file and introduced a new file "mvn.cmd". If we use this version in our maven style builds, we get more or less the following error:

      FATAL: Couldn’t find any executable in D:\current-maven

      I looks like, the Jenkins maven build always calls "mvn.bat" instead of "mvn" only.

      It can be fixed by creating a link with mklink on windows like

      current-maven/bin> mklink mvn.bat mvn.cmd

            Unassigned Unassigned
            waffel Thomas Wabner
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: