1.

Explain Project Aggregation.

Answer»

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).


Discussion

No Comment Found