I have been struggling to understand where Maven (version 3.1.1) looks for the local settings.xml file on Windows 7. Can someone please explain what Maven is doing as it logs the below lines during the execution of any mvn command with the -X switch?
[DEBUG] Reading user settings from ???
Is it examining an environment variable to construct the path? If so, which one? I'm asking this because I was greatly surprised to see that it was examining the path
\\computername\userName\.m2\settings.xml
instead of the expected location on my C drive, which is
C:\Users\userName\.m2\settings.xml