Idea modules vs maven modules
Answered
Hi,
When you load in Idea a hierarchical (root project + subprojects) maven project, is the IDE suppose to create a module out of every folder where a pom.xml file exists? If not, what are the exceptions?
Please sign in to leave a comment.
It is, provided that child modules' POM files are linked with the parent POM correctly.
More information on how to create a multi-module Maven project in IntelliJ IDEA:
And this parent -> modules connection would work at any level of nesting?
As long as it is reflected in the corresponding POMs, yes.
All of the configuration in Maven projects is taken from pom.xml files as is, so if your POM is correct from the Maven point of view, it should be handled by the IDE without issues.