Rostislav Krasny created MNG-6837: ------------------------------------- Summary: Simplify detection of the MAVEN_HOME and make it fully qualified on Windows Key: MNG-6837 URL: https://issues.apache.org/jira/browse/MNG-6837 Project: Maven Issue Type: Improvement Components: Command Line Affects Versions: 3.6.3 Environment: Microsoft Windows [Version 10.0.18363.535] Reporter: Rostislav Krasny
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)