maven installation on windows

Change the System variable name from “M2_HOME” to “MAVEN_HOME”