I believe this setting might be causing IntelliJ IDEA to behave slowly. I used to get a popup and finally clicked 'do this automatically', and now it is on, but I want to turn it off again. How can I disable Maven 'auto import'?
-
possible duplicate of [Intellij IDEA and Maven, disable reading pom.xml on every small change, even without a save](http://stackoverflow.com/questions/26099685/intellij-idea-and-maven-disable-reading-pom-xml-on-every-small-change-even-wit) – Software Engineer Sep 29 '14 at 16:28
6 Answers
Uncheck Project Settings | Maven | Importing | Import Maven projects automatically
.
For IDEA 14+ it's under Settings | Build, Execution, Deployment | Build Tools | Maven | Importing | Import Maven projects automatically
.
For IDEA 2020+, open Settings | Build, Execution, Deployment | Build Tools
and check "Reload projects after changes in the build scripts"
and "Any changes"

- 15,827
- 7
- 64
- 61
-
1This worked for me, but I did have to restart intelliJ in order for the editor to stop behaving slowly. – Noah Oct 22 '18 at 18:28
-
3I don't see this option in IntelliJ 2020.1 (Linux). Any update to this answer, please? – uvsmtid May 08 '20 at 14:40
-
13This has changed in version 2020.1 dramatically. see https://blog.jetbrains.com/idea/2020/01/intellij-idea-2020-1-eap/?_ga=2.166486142.1328458743.1589984167-1329951468.1589984167#maven_and_gradle_importing_updates and https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007973600-maven-auto-import – Antony Stubbs May 20 '20 at 15:17
-
Please up vote this issue to get auto import back! https://youtrack.jetbrains.com/issue/IDEA-235459 – Antony Stubbs May 26 '20 at 13:47
Although above answers are correct. I have observed that above option is not available on IntelliJ 2020.2 version. So, there you need to go Settings -> Build Tool -> Check "Reload projects after changes in the build scripts" -> check "Any changes"

- 2,711
- 2
- 13
- 23
Go to Intellij's Settings and navigate to Build, Execution, Deployment -> Maven -> Importing ->
uncheck Import Maven projects automatically
.

- 8,440
- 5
- 49
- 69
For me (IntelliJ IDEA 14.1.1 on Ubuntu 12) this setting was in Settings > Build, Execution, Deployment > Build Tools > Maven > Importing > [X] Import Maven projects automatically
.
In case it moves again, or you want to get to it quickly, the Maven settings are also findable through a general search by double-tapping Shift and then typing maven
, which is how I found it this time--I think the setting location in IDEA must have been moved since the other answers were posted.

- 1,377
- 2
- 31
- 40
Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing -> Import Maven projects automatically

- 43
- 5
Since it is regarding InteliJ IDEA 13
, follow these steps to disable auto import maven
.
Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing -> UNTICK Import Maven projects automatically
This steps also works for InteliJ IDEA 14
upwards excluding InteliJ IDEA 20
and above.

- 11,530
- 2
- 71
- 51