You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/01/13 21:14:00 UTC
[jira] [Closed] (MNG-6837) Simplify detection of the MAVEN_HOME and
make it fully qualified on Windows
[ https://issues.apache.org/jira/browse/MNG-6837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MNG-6837.
-------------------------------
Resolution: Fixed
Fixed with [9989e6ab6c469b86ef3c74b55d5c5821ba1ccdfe|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=9989e6ab6c469b86ef3c74b55d5c5821ba1ccdfe].
> 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
> Assignee: Michael Osipov
> Priority: Trivial
> Fix For: 3.7.0
>
>
> 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)