For maven project settings, pom.xml, there are actually two ways to inherit the common settings, (like OOP), inheritance and composition.
Inheritance, refers to the parent project.
composition refers to the multi-module project. The “root” configuration actually would be shared among the sub-modules in this project.
refer to Mavan Book (multi-module)