maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Connolly (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MNG-6001) Replace %HOME% with %USERPROFILE% in mvn.cmd
Date Thu, 23 Feb 2017 15:02:49 GMT

     [ https://issues.apache.org/jira/browse/MNG-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephen Connolly updated MNG-6001:
----------------------------------
    Fix Version/s:     (was: 3.5.0-alpha-2)

> Replace %HOME% with %USERPROFILE% in mvn.cmd
> --------------------------------------------
>
>                 Key: MNG-6001
>                 URL: https://issues.apache.org/jira/browse/MNG-6001
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.3.9
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: 3.5.0, 3.5.0-alpha-1
>
>
> Setting {{HOME=%HOMEDRIVE%%HOMEPATH%}} is a relic from Windows NT times. The preferred
way is to use {{%USERPROFILE%}} which is already done in Java 8 internally.
> Let's use it to load the {{mavenrc}} scripts.
> Some references:
> * http://stackoverflow.com/a/36392591/696632
> * http://stackoverflow.com/a/21599376/696632
> * http://bugs.java.com/view_bug.do?bug_id=4787931



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message