First step: Download and install
1. Download maven:http://maven.apache.org/download.cgi
2, extract to a folder 2, set environment variables: such as: m2_home:d:\java\apache-maven-3.0.5 in path add;%m2_home%\bin;
Step Two:and MyEclipse Integration: 1, Preferences, Myeclipse-maven-Installations-add ... 2, modify the Maven settings.xml file, add under Settings: <localrepository>d:\.m2\repository</localrepository>3, Preferences, Myeclipse-maven, User Settings, Browse ... Then update Settings
Step Three:Create MAVEN-supported Web project:1, New Web Project2, tick "ADD maven support", and next ... Next ...
(Import a Mavan project)
1. Import ...
2. Existing Maven Projects
3. Next ... Next ...
Fourth Step:Add Dependency Package (JAR): 1, open pom.xml file, Dependecies,add ... 2. Enter the keyword of the jar package in "Enter GroupId, Artifactid ..." Search 3, select a version in a package, "OK" 4, wait for the system to download the relevant JAR package 5, server, redeploy from the server
(Method of finding the package):
The first type: Search this site: http://mvnrepository.com/
The second type: Google search, such as input: Maven Spring repository
Ways to integrate and use Maven in MyEclipse