I have a multi module maven setup and would like to execute a unit test for a library module. And here I am a bit stuck because one unrelated modules fails the build. Which leaves me with three options which all kind of suck:
- If I use IntelliJ IDEA “make” then the unit test is not be executed as the make fails in an module which I don´t actualy care about.
- If I use IntelliJ IDEA “Run Maven Goal” then the unit test is only executed when It passes. That is so because Maven will call the unit test as well. Sadly Maven won´t produce a nice output. And you won´t be able to just click and exception stack trace to go to the source code.
- I don´t build with IntelliJ IDEA at all but inside a terminal session. That works as expeced but is two steps in different windows.
Has anybdoy got an idea how I could improve the workflow.