How to use
Unzip the downloaded installation package to your working directory. For example: E: Develop apache-maven-3.3.3, configure the environment variable, MAVEN_HOME, and then configure %MAVEN_HOME%bin into path.
Install java jdk and configure JAVA_HOME. Open cmd and enter mvn -r, if an error will be reported. java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli: Unsupported major.minor version 51.0, which means that the maven and java versions do not match. The one under is apache-maven-3.3.3, and jdk1.7 needs to be installed.
If it appears as shown in the picture, it means the installation has been successful.
it works
it works
it works