Previous projects have been useful to MAVEN, but have not run web maven, so here's a note.
Structure of the project:
---master//parent
---web-project//
---client-project
---service-project
---dao-project
The first to find information on the Internet, such a way, that way, I am not configured on this side, and the configuration is very cumbersome, not yet run up. Finally I deleted the project and got back from Git.
Configuration steps:
1: Because my web-project layer is controller layer, so I use him to do the top.
Right-click Web-project---->properties--->deployment assmbly
2: Click Add
3: Select Project--->finish will client-project,service-project,dao-project this three items to join in
4: Download Tomcat, with no Tomcat configured environment (I'm not configured), add Tomcat to eclipse
Click Eclipse--->preferences
Server----->RUNTIME Environments---Add to extract the tomcat you downloaded.
Modify the Tomcat's publish path (my options here are gray, because my tomcat has been linked to my project, so I can't modify it, you're the first to create Tomcat, and no associated items can be modified.) Online said maven use of Src/main/webapp, I configured on the No)
OK, after the project is clean and automatically compiled, right-click Web-project,run as---->run on server is OK.
Maven+eclipse+mac+tomcat Multi-Module release