apache maven 3.3.3 cannot be invoked anymore on windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: maven-plugin
    • None
    • Environment:
      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

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

              Created:
              Updated: