title: configure maven for both personal and work use
body: <p>At my job we use a nexus server that requires credentials. it is also only available through our network (or VPN). I was provided with a maven settings.xml for this purpose.</p>
  
  <p>I also want to have a more conventional configuration for some side projects of mine, because using the same configuration is very inconvenient, but Im not sure of how to switch configurations without replacing the whole settings.xml every time.</p>
  
  <p>The settings is basically taken from <a href="http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html" rel="nofollow">this example</a> but with a  entry for credentials. How can I turn off this config and connect to the central maven repo when I'm at home?</p>