Multi-Module Maven Projects

From NovaOrdis Knowledge Base
Revision as of 20:41, 18 March 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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.