1. Download Address:http://maven.apache.org/downl…



Unzip the download package

2. Configure environment variables

Create a new variable, MAVEN_HOME



Edit the PATH variable and add the Maven bin Path



3, check whether the installation is successful

Run CMD and type MVN –version



If the version number content appears, the installation is successful!

Others: Modify configuration files

4. Modify the local default repository path

Open the settings.xml file in the Maven conf directory, search for LocalRepository, place the tag outside the comment, and replace your localRepository address, such as



5. Modify the address of the central (remote) warehouse, search the Mirror, and change the tag value to the address of Ali Cloud:

<mirror>
        <id>alimaven</id>
        <mirrorOf>central</mirrorOf>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
    </mirror> 

That’s all you need to know about installing Maven.

Also, to supplement Eclipse students, configure Maven and create a new Maven event tutorial:

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Click Finish and check the newly added Maven project:



2. Configure the Maven profile:

Navigate to User Settings in Maven, click Browse, and locate the settings.xml file in the conf directory:

Create a new Maven project

1, select maven project from file-> new->other:



Search a webapp



Enter the coordinates of the project



Click Finish, and you’re done!