How to disable Maven auto import automatically in IntelliJ IDEA?

怎甘沉沦 提交于 2019-12-19 12:23:27

问题


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'?


回答1:


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.




回答2:


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




回答3:


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.




回答4:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!