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

apache maven 3.3.3 cannot be invoked anymore on windows

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Jenkins Node running on Windows
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            waffel Thomas Wabner added a comment -

            I have seen that this issue is fixed in a recent jenkins version? (we have switched to LTS .. so not checked if it was closed already here).

            Show
            waffel Thomas Wabner added a comment - I have seen that this issue is fixed in a recent jenkins version? (we have switched to LTS .. so not checked if it was closed already here).

              People

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

                Dates

                • Created:
                  Updated: