Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-914

mvn.bat renamed to mvn.cmd -> maven-release-plugin:prepare fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None
    • Environment:
      Maven >=3.3.1

      Description

      When attempting to run mvn release:prepare, I get the error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project portal-viz: Failed to invoke Maven build. Error configuring command-line. Reason: Maven executable not found at: C:\asias\tools\apache-maven-3.3.3\bin\mvn.bat -> [Help 1]
      

      This is due to the fact that mvn.bat was renamed to mvn.cmd in version 3.3.1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                ltheisen@mitre.org lucas theisen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: