Description
System.getProperty("user.home") + M2_SETTINGS, // System.getenv(MAVEN_HOME) + CONF_SETTINGS, // System.getenv(M2_HOME) + CONF_SETTINGS //
between those two parts of path should be file separator
otherwise: "C:\Users\Oleksandr.Zhelezniak.m2/settings.xml"