I am having trouble re-importing previously imported and removed maven modules on IntelliJ. The only way I am able to import them is by renaming them (changing folder names), which I don't want to do. When I go through the wizard I get the message: Unable to proceed. Nothing found to import. My project is grayed out in the Window that says select Maven project to import. I am guessing IntelliJ caches names of imported modules somewhere and doesn't purge them when you remove the modules. Anybody able to help?
This happened to me as well, what I did:
Go to File > Settings > Maven > Ignored Files and uncheck the ignored files.
Then re-import the module, shouldn't be greyed out anymore.
EL
Are you aware of this button on the Maven tab? It may fix your issue.
Also, this may be a cache issue. You can clear your cache by clicking File -> Invalidate Caches...
Other than that I do not have enough information to help you. If you had steps to reproduce this issue that would help a lot.
I was able to fix this in IntelliJ 2016.3 by right-clicking relevant pom.xml file and selecting: Maven > Unignore Projects
Reimport all Maven projects does not change its status.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With