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'?
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
.
Go to Intellij's Settings and navigate to Build, Execution, Deployment -> Maven -> Importing ->
uncheck Import Maven projects automatically
.
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.
Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing -> Import Maven projects automatically
来源:https://stackoverflow.com/questions/26099526/how-to-disable-maven-auto-import-automatically-in-intellij-idea