New Maven module not being imported into project

Hello,

I create a new project based on existing sources (Another Maven project).

I now need to add one new module to the existing project (Also a Maven module). I'm using the maven quickstart archetype, but the resulting directory structure and source files are not bein imported correctly into IntelliJ. See screenshot below. What am I doing wrong here?



Attachment(s):
Clipboard01.jpg
2 comments
Comment actions Permalink

I also came across this issue yesterday while I was creating a new module from existing pom.xml. The src/main/java and src/test/java was not recognized by Idea so I had to set them manually.

0
Comment actions Permalink

Thanks.
Noticed that as well.

Solution for now, is right click on the appropriate directory,  then "Mark directory as", and finally the type of resource that it is (Source, test, resources, etc...)


Would this be considered a bug?

0

Please sign in to leave a comment.