IntelliJ not compiling before execution
Answered
How do I compile the entire project before it executes any file for a maven project. I create a Run configuration for single java class and I have to enter mvn:compile in the run configuration for that class. I want this to be the default for any executable class that I right-click and say Run.
Please sign in to leave a comment.
Hello Salil,
Right-click on "compile" goal in Maven tool window, choose "Execute Before Run/Debug" and select needed Run Configuration types.