Original address: 79015456
1. Download the Maven Tarball and unzip it to the Maven folder in addition to the C drive 2. Create a new repository file in the extracted Maven sibling directory to store various jar Packages 3.-->conf--> of the Unpacked folder Settings.xml file, open with Notepad tool 1) Set the location of the warehouse where the default jar package is saved: <localrepository>e:\program files\maven-3.5.2\repository</ LOCALREPOSITORY>2) Set the domestic mirror address <!--set the home Maven image--
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</MIRROR>3) Modify the default JDK version to create a MAVEN project for 1.8<!--Modify the default JDK version for creating MAVEN projects is 1.8-->
<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile> at this point, the configuration file is all set up 4. Configure environment variables: 1). Add the M2_home path to the user or system variable of the environment variable: the root directory of the extracted maven-->e:\program files\ maven-3.5.2\apache-maven-3.5.22). Add Maven's Bin path to path:; E:\Program files\maven-3.5.2\apache-maven-3.5.2\bin5. Test in command line mode: The version that appears Maven is the configuration success! This is half done.
"Go" Maven installation, configuration, and download jar packages