Maven post-build task breaks when using Maven 3.3 on Windows

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When using Maven 3.3 on a Windows Jenkins instance, builds fail on post-build tasks that depend on Maven, for example the Sonar plugin. In the console output you would see: "Couldn’t find any executable in [maven path]".

      The reason for this is that Maven 3.3 now ships '.cmd' files instead of '.bat' files, and Jenkins checks specifically for the presence of '.bat'.

            Assignee:
            Olivier Lamy
            Reporter:
            Martijn Baay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: