Maven with Eclipse

#

  1. 安装Maven
  2. 安装Eclipse
  3. 安装m2e
mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false

To convert a maven project to a eclipse project

mvn eclipse:eclipse -Dwtpversion=2.0