@Oliver Kocsis note that when creating a new maven module, one of the wizard screens is shown below:
IntelliJ Module Wizard
As shown, the wizard will populate the module path, for example C:\PersonalProjects\cabrunco-repo instead of C:\PersonalProjects\cabrunco-repo\pets .
So you just need to add \yourModuleName to the Content root .
source share