Open up the IntelliJ settings dialog.
In Maven–>Runner options set a following VM option:
-Dmaven.multiModuleProjectDirectory=project root
Open up the IntelliJ settings dialog.
In Maven–>Runner options set a following VM option:
-Dmaven.multiModuleProjectDirectory=project root