Why are some maven projects in IntelliJ greyed out?
In the file menu select settings -> plugins. search for maven, select maven, select enable. Restart intellij. Once restarted you will now have the option to start new maven project and maven functionality will be accessible in all your previous projects.
The root cause was that the pom. xml file was ignored (Settings - Build, Execution, Deployment - Maven - Ignored Files). Thus, updates to this file pulling in a new version of a dependency did not trigger anything meaningful in IntelliJ IDEA (causing compilation issues).
Seems images are better way to answer this question.
Feel free to ping in comments if more clarification required. Happy coding.
Right click on the pom -> maven -> unignore. Then right click on pom -> maven -> reload project.
Seems some kind of bug when you open a child subdirectory then open the parent in IntelliJ.
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