m2settings support

https://issues.sonatype.org/browse/NXCM-4419