title: How to specify an alternate location for the .m2 folder or settings.xml permanently?
body: <p>I am using Maven 3.0, and my <code>.m2</code> folder location is <code>C:\Users\me\.m2</code>.</p>
  
  <p>However, I do not have write access to that folder, but I want to change the repository location from the one defined in the <code>settings.xml</code>.</p>
  
  <p>Due to restricted access, <strong>I am not able to edit the <code>settings.xml</code></strong> to change the repository location.</p>
  
  <p>How can I override the values of my <code>settings.xml</code> -or change the default location of the <code>.m2</code> folder- without editing my <code>C:\Users\me\.m2\conf\settings.xml</code> file?</p>