Project Aggregation specifies the modules from the parent POM instead of specifying the parent POM from the module. As a result, the parent project is aware of its modules, and if a Maven command is issued against the parent project, the Maven command is also applied to the parent's modules. For Project Aggregation, you must accomplish the following :
* Change the packaging of the parent POMs to "pom
"
* Specify the modules' directories in the parent POM (children POMs).