Question: the term 'mvn' is not recognized as the name?
Answer: mvn -version 'mvn' is not recognized as an internal or external command, operable program or batch file. Answer: Refer to Step 4, make sure the %MAVEN_HOME%\bin is added to the PATH system variable. 6.2 The JAVA_HOME environment variable is not defined correctly.