Can anyone tell me if the %HOME% reference in the mvn .bat is purposefully not
set to %HOMEDRIVE%%HOMEPATH%?
I had to add this to mine in order for mavenrc_pre.bat to run:
if "%HOME%" == "" (set HOME=%HOMEDRIVE%%HOMEPATH%)
@REM Execute a user defined script before this one
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
I'm not sure if roaming profiles would interfere here or not, but I think it's
a sensible equivalent to $HOME=~/
Perhaps I can open a JIRA issue for the enhancement request?