Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6837

Simplify detection of the MAVEN_HOME and make it fully qualified on Windows

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.6.3
    • Fix Version/s: 3.8.2, 4.0.0, 4.0.0-alpha-1
    • Component/s: Command Line
    • Labels:
      None
    • Environment:
      Microsoft Windows [Version 10.0.18363.535]
    • Flags:
      Patch

      Description

      I propose the following pull request with a simple change of the 'mvn.cmd' batch script:
      https://github.com/apache/maven/pull/307

      The removed 'stripMHome' recursive function is not needed anymore.

      Part of the 'mvn -version' output before this change:
      Maven home: D:\develop\apache-maven-3.6.3\bin\..

      Same part of the 'mvn -version' output after this change:
      Maven home: D:\develop\apache-maven-3.6.3
      I.e. now it's fully qualified.

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              rosti-il Rostislav Krasny

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment