Enterprise projects will have multi maven modules.
Step 1: Create simple-app-parent is a package of type “pom”
|
1 2 3 |
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=pom-root \ -DarchetypeVersion=RELEASE -DgroupId=com.mytutorial -DartifactId=simple-app-parent -Dpackage=pom |
press “Y” for all the questions.
Step 2: cd into your newly created root dir “simple-app-parent”
|
1 |
cd simple-app-parent |
Step 3: Create a child module “simple-app-service”,
…