IntelliJ always does maven install (mvn install) on all projects while Build

Answered

I have the latest version of IntelliJ Ultimate Edition 2019.3.1 upgraded a week back. 

 

I am seeing a new issue here. Whenever I run a JUnit or Build the project, internally IntelliJ always forces a Maven install on all the projects opened in the window. This never happened on the previous 2018 version and its extremely annoying.

Once I run any JUnit, under the Build Output tab after clicking on 'Build' at the bottom of the IntelliJ window, I see all of my projects like this:

projectA [install] : see some Snapshot/Release versions being built. 

projectB [install] : see some Snapshot/Release versions being built. 

I see downloading of repositories in the adjacent window which I am very much sure is the output of mvn install. At the very end I see BUILD SUCCESS. 

Is there a way to avoid this? I desperately want to go back to previous versions as it is wasting too much time. 

FYI: I haven't set anything like Execute Before Build or Execute After Build knowingly. If it happened unknowingly then how can I fix this? 

 

0
3 comments

Try disabling the option to delegate build/run actions to Maven in File | Settings | Build, Execution, Deployment | Build Tools | Maven | Runner:

0
Avatar
Permanently deleted user

That worked! Thanks Serge Baranov.

0

Also worked for me. Thanks!

0

Please sign in to leave a comment.