Creating new multi module maven project using command line

Posted: January 31, 2013 in web

1.on command prompt enter mvn archetype:generate
2. search for “root”
3. find the archetype that says pom-root (on my case its item 3)
4. enter 3
5. follow the steps…(groupId, artifactId entries…)
6. go to your newly created root folder ( cd )
7. do the same to step 1
8. search javaee6
9. look for javaee6-webapp-blank-archetype, on my case # 10
10. enter your jboss server version
11. do the same on step 5
12. for the second module do the same starting from step 7


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s