Reprint: Http://blog.sina.com.cn/s/blog_4f925fc30102epdv.html to set maven in MyEclipse first:
The support setup for MyEclipse to this maven is complete. Below we create a MAVEN standard Web project in MyEclipse: New---Web project
To this end a MAVEN standard Web project was created successfully. Add Maven's Standard Catalog: Right-click the project name-->new-->source Folder
To this end, add Maven's contract directory to completion. Right-click the project name-->build path-->configure Build Path ...
Right-click the project name-->maven4myeclipse-->update projects Configuration ... So far, the JDK version of the MAVEN project created in MyEclipse has been changed. --------------------------------------------------------------------------------------------------the author of this side more wordy sentence, When you create a MAVEN project with MyEclipse, you may encounter the following problem: Coreexception:could not calculate build plan:plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2Or one of its dependencies could is resolved:failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2From Http://repo1.maven.org/maven2 is cached in the local repository, resolution won't be reattempted until the Updat E interval of central have elapsed or updates are forced. Original error:could not transfer artifact Org.apache.maven.plugins:Maven-compiler-plugin:jar: 2.3.2 from/to Central (http://REPO1.MAVEN.ORG/MAVEN2), No response received after 60000 "workaround":
--------------------------------------------------------------------------------------------------the author of this side more wordy sentence, When you create a MAVEN project with MyEclipse, you may encounter the following problem: Failure to transfer org.apache.maven.plugins:maven-war-plugin:jar:2.1.1From Http://repo1.maven.org/maven2 is cached in the local repository, resolution won't be reattempted until the Updat E interval of central have elapsed or updates are forced. Original error:could not transfer artifact Org.apache.maven.plugins:maven-war-plugin:jar:2.1.1From/to Central (HTTP://REPO1.MAVEN.ORG/MAVEN2): No response received after 60000 "workaround":
Creating a Maven project in MyEclipse