code: static MavenSettings getMavenSettings() {
  		try {
  			String homeDir = System.getProperty("user.home");
  			return parseMavenSettings(new File(homeDir, ".m2/settings.xml"));
  		}
  		catch (Exception e) {
  			log(e);
  		}
  		return new MavenSettings();
  	}
docs: get maven settings