First, the preparatory work
a. Installation jdk1.7 or later
. B maven download installation package official download address: http: //maven.apache.org/download.cgi
Baidu network disk Download: https://pan.baidu.com/s/1EI2CytxsnelXfZ-XFYSizA (maven3.3.3)
Second, extract the installation package Maven
Unzip to the specified directory, I unzip to D: \ tool \ under apache-maven-3.3.3 directory
Third, configure Maven environment variable
Go to My Computer Properties ---- ---- ---- Advanced System Settings Environment Variables ---- ---- New system variables
Variable name: M2_HOME
Variable value: D: \ tool \ apache-maven-3.3.3
Find the path environment variable, add;% M2_HOME% \ bin; (semicolon in front of the note)
Fourth, check whether the configuration is successful Maven environment variable
Reference Address:
apache maven installation tutorial: https://blog.csdn.net/shixianyiyu5277/article/details/80397832