Nothing happens when i create module from maven resources!

idea 11.1.1

I have a projects with a bunch of modules, all created using a maven structure i've had for ages, this has always worked fine.

Today, i accidentally "deleted" a module in my project (nothing deleted on disc) and tried to "re-import"/recreate the module, since it now just appears as a directory (without the blue module-box icon).

So, i click file/new module... "import module from external module" and set it to scan. I select my directory it finds and click next.


Nothing happens! The window just closes, no new module is added, and there's nothing in the logs!


I have no idea where to look, pointers much appreciated. See attached screenshots



Attachment(s):
Screen Shot 2012-04-16 at 23.55.51.png
Screen Shot 2012-04-16 at 23.56.07.png
Screen Shot 2012-04-16 at 23.56.39.png
4 comments
Comment actions Permalink

Try to create new module using File -> New Module -> Create module from stratch -> Java module.
Created module will be detected as maven module automatically.

0
Comment actions Permalink

After deleting module pom.xml becomes ignored. You can make pom.xml unignored in Maven Project toolwindow. See attached screenshot.



Attachment(s):
a.png
0
Comment actions Permalink

Thanks, now that's something i'd never have found out myself...

0

Please sign in to leave a comment.