Aggregation

This lesson explains how multiple projects can be grouped under an uber-POM project.

In the previous section, we saw how child projects can inherit from a parent project by specifying the parent section in their POM. In this lesson, we go in the other direction where a parent project references child projects in its POM in order to aggregate them. The parent project in this case is called the aggregator project. Let’s consider an example project, Project5, with the following directory structure:

Get hands-on with 1400+ tech skills courses.