Installation and configuration steps environment variables maven plugin
Environmental requirements:
Java:jdk1.8
maven:apache-maven-3.6.2-bin.zip
1.maven official website ( http://maven.apache.org/download.cgi ) download the installation package maven, maven and jdk version requirements of:
2.maven installation path
3.maven environment variable configuration, the configuration is omitted here Java installation and environment variables
3.1. Right-click on "My Computer", select Properties, go to Control Panel, select "Advanced System Settings", configure the environment variables
3.2 New maven environment variable configuration, the name is: MAVEN_HOME, variable path: install path of maven
3.2. Maven added to the path environment, the parameters as follows% MAVEN_HOME% \ bin
3.3. Maven test whether the installation is successful, enter the cmd command line input mvn -v, verify whether the installation was successful maven
4.maven configure the local warehouse and central warehouse, modify the configuration information settings.xml file conf folder
4.1 Configuring local repository, go to the conf folder, open settings.xml file, modify the path of the local repository, my local repository path is: D: \ studio \ Maven \ repository
4.2. Configuring maven Ali cloud (Aliyun) warehouse