5

After installing new version of IDEA.14, deployment of (maven) projects significantly increased (from 15 seconds to 47 seconds).

Anton Petrovskyi
  • 442
  • 5
  • 18

2 Answers2

13

REASON: IDEA uses bundled version of Maven

SOLUTION: Settings (ctrl+alt+S) --> Maven --> Maven home dir - select path to installed (not bundled) Maven directory

enter image description here

Anton Petrovskyi
  • 442
  • 5
  • 18
  • 2
    So what is the difference between the two versions? – user2864740 Mar 26 '15 at 19:20
  • 1
    Well... I'm not sure what was the reason, but after changing this option and unchecking checkbox "Exclude build directory" (Settings->Build Tools->Maven->Importing). Well.. one of this things solved my problem. BUT!!! Now I'm trying to undo my changes and I can't get the result that was before ... – Anton Petrovskyi Mar 26 '15 at 20:49
0

If you're using Tomcat plugin then make sure that in Tomcat Server configuration "Before Launch" doesn't contain the 'Build:artifcat' option as that's what makes it run every time even when you've done clean install.

Smart Coder
  • 1,435
  • 19
  • 19