How to disable Maven auto import automatically in IntelliJ IDEA?

后端 未结 5 1571
长情又很酷
长情又很酷 2020-12-11 00:00

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

相关标签:
5条回答
  • 2020-12-11 00:33

    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"

    0 讨论(0)
  • 2020-12-11 00:34

    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"

    0 讨论(0)
  • 2020-12-11 00:44

    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.

    0 讨论(0)
  • 2020-12-11 00:44

    Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing -> Import Maven projects automatically

    0 讨论(0)
  • 2020-12-11 00:55

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

    0 讨论(0)
提交回复
热议问题