A good memory is better than a bad pen, a record.
Operating system: Windows 7
MyEclipse2015
JDK1.7
Maven download link, click here to download apache-maven-3.0.4-bin.tar.gz.
After the download is done, unzip it, my directory is D:\apache-maven-3.0.4.
Next, start configuring environment variables.
1 System variables: maven_home=d:\apache-maven-3.0.42 user variable: path=%maven_home%\bin
configured as well.
Path and Maven_home.
The cmd input command is then opened.
1 mvn-version
After the correct installation, the output is as shown.
Now start setting up MAVEN's local warehouse location and open the./conf/settings.xml
Locate the localrepository tag, plus a line setting, as shown in the red line for the increased setting.
This means that I have built MAVEN's local repository in the D:\MAVEN_REPOSITORY folder.
Associate maven with MyEclipse as follows.
First open the MyEclipse.
Select Window>>preperences>>maven4myeclipse.
Select then click Installations, configure the installation path of MAVEN, the original embedded is the default, set as well.
Next load the configuration information, click on User Settings, select the user Settings browse button, load the MAVEN path, such as.
All right, record it.
Maven also needs to download some dependent files, execute the following command in CMD
1 mvn Help:sys
The download is complete below.
Dedicated to the improvement of the Operation manual.
MyEclipse installation of Maven