Ready to work
1. go to the official website to download MAVEN (http://maven.apache.org/download.cgi) archive and unpack.
2. Create a folder MavenStore used as MAVEN warehouse.
Configuration settings.xml
1. Go to the directory under MAVEN conf directory, open settings.xml document.
2. Add the local repository path configuration in the "settings" tab.
<localRepository>E:\MavenStore</localRepository>
3. Add in the "mirrors" label
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
4. Copy the settings.xml file to the C: \ admin.m2 under \ Users.
MAVEN configuration environment variable
1. Configure MAVEN_HOME, the variable value MAVEN decompression path.
2. Configure Path
3. check whether the configuration environment variable
MAVEN project created in the IDEA
1. Click File-> New-> Project
2. Fill in your own organization name, project name
3. Select the corresponding path
4. Finally, fill in your project name.
5. Once created, MAVEN project will automatically start downloading something, when the console output success, click on the bottom right of import changes
at this time a MAVEN project environment has been set up is complete.