IntellijIDEA Ultimate 2020.1 version.
p.s. The most strange thing is that when a MyMavenJava is renamed into MyMavenJava123 - all this troubles don't even occur! I tried different way to identify all this steps and this poisons my understanding of project's configuration.
So, it is not allowed to rename a root project's directory? How to correctly rename directory with Maven project?
First off, you are using kind of an old version of IDEA, so you may consider upgrading.
I'm, personally, not that familiar with that particular version of IDE, but in general in IDEA Maven config (pom.xml
, settings.xml
, etc.) takes precedence over IDEA's native settings.
In most cases you don't have to do anything when renaming the folder, but if you experiencing issues, close the renamed Project, remove .idea
folder and .iml
file(s) (if present) and re-import the Project (Open -> double-click the root pom.xml
-> Open as Project)