I. Overview of MAVEN
MAVEN is a software project management tool that is based on the Project object Model (POM) that can manage project building, reporting, and documentation through a small description of the information.
Simply put Maven is a project management and build automation tool
Second, the environment construction
1. Configure Environment variables
System variable: maven_home = D:\tools\apache-maven-3.2.3
System variable: PATH =%maven_home%\bin
Test:
2.myEclipse configuration maven: Select the MAVEN path configured in the environment variable
3. Modify the location of Maven local warehouse:
Locate the Settings.xml configuration file under apache-maven-3.0.4 under Conf
<Settingsxmlns= "http://maven.apache.org/SETTINGS/1.0.0"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <!--Localrepository | The path to the local repository maven would use to store artifacts. | | Default: ${user.home}/.m2/repository//apache-maven-3.0.4 Warehouse is placed under the temporary folder of local users under the M2 folder under repository <localrep Ository>/path/to/local/repo</localrepository> -//Modify to the location you specified<localrepository>F:/resource/maven/repo</localrepository>
4. Copy the settings.xml file to the F:/resource/maven/repo
And in the MyEclipse introduced---------"Construction completed
Iii. creating a Web project in MyEclipse (i Myeclipse2013)
Iv. Common directives
Maven MyEclipse Build Project