Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15785

maven 3.3.1 no longer has mvn.bat but only mvn.cmd

    XMLWordPrintable

Details

    Description

      maven 3.3.1 no longer supports win9x and they dropped the mvn.bat executable, replacing it with mvn.cmd.

      However com.atlassian.bamboo.plugins.maven.task.M3Config class in bamboo will explicitly use .bat. (5.8 branch sources) I haven't tested on a real running windows agent, but I'm assuming the 3.3.1 maven cannot be run on windows agents at the time being..

          public static String getExecutableName()
          {
              return ExecutablePathUtils.makeBatchIfOnWindows(M2_EXECUTABLE_NAME);
          }
      

      please for details see https://jira.codehaus.org/browse/MNG-5776

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              mkleint mkleint (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: