I am getting the mvn command not recognized as an internal or external command.
mvn
I have setup the M2_HOME, JAVA_HOME and added %M2_HOME%/bin to the path
In your Environement variable :
new system variable:
M2_HOME Your mvn directroy "C:\......\bin"
M2_HOME
Your mvn directroy "C:\......\bin"
new user variable:
M2 %M2_HOME%
M2
%M2_HOME%
edit the CLASSPATH by adding %M2%
CLASSPATH
%M2%
finally open the cmd and write
path=%CLASSPATH%
enjoy