I've inherited a machine from another person, and maven thinks I'm a different user. This is me:
C:\> echo %USERPROFILE%
C:\Users\awesomeuser
Although maven thinks I'm administrator and fails to create the .m2 folder there.
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from c:\apps\tools\apache-maven-3.1.0\bin\..\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\Administrator\.m2\settings.xml
[DEBUG] Using local repository at C:\Users\Administrator\.m2\repository
[ERROR] Could not create local repository at C:\Users\Administrator\.m2\repository -> [Help 1]
org.apache.maven.repository.LocalRepositoryNotAccessibleException: Could not create local repository at C:\Users\Administrator\.m2\repository
Any ideas how to get maven to recognize I'm awesomeuser not Administrator?