This is causing intellij to become slow and freeze up which is annoying as ****.
It appears as if it analyses other files similar to pom.xml causing freezes on other places as well.
Can this be disabled?
In Windows Operating system, Press Ctrl + Alt + S
, or File\Settings\
Project Settings section.
in section Maven
:
* Uncheck: Import Maven project automatically
.
* Section Generated sources folder:
, Choose Don't Detect
.
* Section
Runner
: Uncheck Run in background
.You can disable option in
Settings -> Maven -> Importing -> Import Maven projects automatically
(see intellij docs)
And then everytime you want to reimport the pom do it in Maven Projects tool window
来源:https://stackoverflow.com/questions/26099685/intellij-idea-and-maven-disable-reading-pom-xml-on-every-small-change-even-wit