Use Maven to establish dependencies, inheritance, and aggregation between projects. Use Maven tools

Set up the project

Create parent project

Create the subproject Common





Create the child project UI-Manager



Generate web.xml using JavaEE Tools



Create the child project Component



Run Maven install on the parent project



Console output download







Establish dependencies between projects

The UI – manager depend on the component



Component rely on common



validation

Run Maven install on the parent project

View the hierarchy of dependencies in the UI-Manager project