Using the idea to create a maven project
Click next and enter GroupId ArtifactId
Click next create a project, the new project is structured as follows
Modify the demo mode is packaged pom
Created by the split-level module model, server, dao
dao layer depends on the model layer
server layer depends on the model layer
Right Project -> New -> Module
Or click File -> New -> Module
Click next
Module creates a successful demo project directory structure
demo under pom.xml
Under model pom.xml
It depends on the server layer dao
dao layer depends on the model layer
Construction of complete multi-module maven