This sample consists of four Maven pom.xml files--the top-level pom.xml and one pom.xml
file for each of the three submodules. Because they specify the top-level pom as
their parent, the latter three all inherit the configuration information in the
top-level pom.xml file. Also, because the top-level pom explicitly references each
of this submodules, those submodules are processed while running most Maven commands
(such as mvn clean install
or mvn
eclipse:eclipse
) from the project base directory. We'll explore this
project's pom.xml files in this section.Top-level pom.xml