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] [Updated] (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 updated MNG-6837:
--------------------------------
    Fix Version/s: 3.8.2

> 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.8.2, 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)