Maven : http://maven.apache.org/download.cgi
Or you can download it directly at that address http://down.51cto.com/data/2046394
First step: Configure the MAVEN environment
Download Maven's bin and unzip it.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6C/B3/wKiom1VQT5_ilUYbAAKVMvSg7so624.jpg "title=" QQ picture 20150511144328.png "width=" alt= "Wkiom1vqt5_iluybaakvmvsg7so624.jpg"/>
Find a path to put in, the bin location in the environment variables, the new environment variable maven_home.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6C/AE/wKioL1VQUhziaxMVAAFXnXW5pio886.jpg "title=" QQ picture 20150511144742.png "alt=" Wkiol1vquhziaxmvaafxnxw5pio886.jpg "/>
Find path, add at the end of the environment variable value: ;%m2_home%\bin;--- Notice the semicolon in front
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6C/AE/wKioL1VQUvOQfzN1AABzn317EMY374.jpg "title=" QQ picture 20150511145044.png "alt=" Wkiol1vquvoqfzn1aabzn317emy374.jpg "/>
Because MAVEN relies on the Java Runtime environment, you need to configure the Java Runtime Environment before using MAVEN. Download and install the JDK, configure the JDK environment variable java_home, or MAVEN will not be available. Configuring the Java environment is not much to say.
After the configuration is complete, at the Windows command prompt, enter MVN-V test, the configuration is displayed successfully
Step two: Modify the warehouse location
Modify our warehouse address to store all the jar packages that our project relies on .
My warehouse path: F:\maven\repo---- This path is created by myself and you can create the path in any location.
We open the Setting.xml file in the \apache-maven-3.0.3\conf\ directory and set it to the warehouse path we created .
650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2011/311516/2011120219032539.png "style=" border:0px; " />
Let's verify with a command. Open a command prompt, enter:mvn help:system
This command prints out all of the Java System properties and environment variables. This information is very helpful to our daily programming work.
If there are no errors during the run, opening our warehouse (F:\maven\repo) will find some more files inside. These files are downloaded from maven 's central repository to the local repository.
Quickly build a MAVEN environment