Multi-Module Maven Projects
Jump to navigation
Jump to search
External
- Guide to Working with Multiple Modules https://maven.apache.org/guides/mini/guide-multiple-modules.html
Internal
Overview
<project> ... <modules> <module>module1</module> <module>module2</module> </modules> ... </project>
Each <module> element corresponds to a subdirectory of the top level project directory. Maven will look into these subdirectories for pom.xml files. Each module will have its own independent source hierarchy.
The Reactor
When We Should Use Modules?
Modules and Versions
Organizatorium
- The modules do not need to specify their <groupId>, as it is inherited from their parent, and thus redundant.