1.命令方式:apache
1)Create the top-level root:eclipse
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=pom-root -DarchetypeVersion=RELEASE
2)
cd
into your newly created root dirmaven
3)每個子模塊:ui
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=RELEASE
2.eclipse插件方式:spa
1)建立父項目插件
2)建立子模塊code