4

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?

mjs
  • 21,431
  • 31
  • 118
  • 200
  • possible duplicate of [How to disable Maven auto import automatically in IntelliJ IDEA?](http://stackoverflow.com/questions/26099526/how-to-disable-maven-auto-import-automatically-in-intellij-idea) – Andrei Sfat Sep 29 '14 at 12:24
  • @sfat The solution in the other question and in this one do not solve this error. It still occurs. The other question specifically asks for disabling of maven auto import. This one to disable the analyzis of the pom file which is not resolved by any answer so far. – mjs Sep 29 '14 at 12:26
  • It should do this on save only, not for every character change. – mjs Sep 29 '14 at 12:32
  • Why did you post the same question twice? – Software Engineer Sep 29 '14 at 16:28

2 Answers2

5

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.

enter image description here

* Section Runner: Uncheck Run in background.

enter image description here

Vy Do
  • 46,709
  • 59
  • 215
  • 313
2

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

František Hartman
  • 14,436
  • 2
  • 40
  • 60