Issue
I'm running a Junit test and everytime I run it, I wait ~5 minutes for "executing maven goals". After that it starts up application context and runs tests. I know that this same test runs without executing maven goals and a lot faster on other environments.
I tried removing "Build" from configuration...
... but then it doesn't update changed files
Here is how it looks in IntelliJ (for my 5 minutes):
I suppose Build takes too long in my case, is there any other way to grab the changes before running the test and not wait forever?
Solution
Disable the Maven build/run delegation option in File | Settings | Build, Execution, Deployment | Build Tools | Maven | Runner.
Answered By - CrazyCoder