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 2021/06/26 22:08:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17370088#comment-17370088 ]
Michael Osipov commented on MNG-6837:
-------------------------------------
Fixed with [3a465e14779483c1c4f0be552298f5d2b232a29b|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=3a465e14779483c1c4f0be552298f5d2b232a29b] for {{maven-3.8.x}} branch.
> 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: 4.0.0, 4.0.0-alpha-1
>
>
> 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)