Skip to content

[MNG-6837] Simplify detection of the MAVEN_HOME and make it fully qualified on Windows #8451

@jira-importer

Description

@jira-importer

Rostislav Krasny opened MNG-6837 and commented

I propose the following pull request with a simple change of the 'mvn.cmd' batch script:
#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.


Affects: 3.6.3

Remote Links:

Backported to: 4.0.0-alpha-2, 3.8.2

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority:trivialCosmetic problem like misspelled words or misaligned text

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions