Maven IDEA Plugin, by default, creates the project files (*.ipr) and
the workspace files (*.iws) from where the root pom is located. Then
module files (*.iml) are created for each of the projects inside the
reactor.
If some projects depend on another project in the reactor, then the
reference to the project is given instead of the hard-references to
the local repository copies of the artifacts.