Maven support: Does not understand source dir in other places

Hi,
I use Maia 10.154.
I have a multi-module Maven project. One of the modules specifies a source directory:
     <sourceDirectory>${basedir}/../src</sourceDirectory>
     <testSourceDirectory>${basedir}/../testsrc</testSourceDirectory>

Importing this as a new project does not add the directories src and testsrc to the module.

I have to manually add two source roots at src and testsrc and specifiy these as source and testsource directories (The parent dir belongs to the parent module).

Is there a way to make IntelliJ do this for me?

Regards,
Wallaby

1 comment
Comment actions Permalink

No, IDEA doesn't support importing such configurations, you should manually handle them.

Thanks,
Anton Makeev

0

Please sign in to leave a comment.