Search code examples
javaspring-bootmavenintellij-ideabuild

Stopping maven from running test while compiling intellij


I am having a problem regarding my code keeps on running test while compiling the code but the unit test is wrong and I am trying to debug it but I can't. Where to look for the wrong configuration? I have search the whole internet for it but maybe my keyword is wrong.

TLDR: My code cannot compile because my current Unit Test is failed, I cannot debug the unit test because I can't build my project.


Solution

  • I have found the answer for anyone who stumbles upon the same problem. In IntelliJ Idea > Settings > Build, Execution, Deployment > Build Tools > Maven > Runner > UN-TICK Delegate IDE build/run actions to Maven

    That's it.