Jacoco should only create XML reports once all tests of all modules ran. The last module might create coverage in previous modules.
The old binary format supported this very easy, by writing to the same single binary file using append=true. And sonar plugin would use this file. Now sonar made it fully deprecated and we need to use the XML file as of version 8. (LTS is still on 7.9 of sonar and works for a couple of months)
Jacoco proposes to use an aggregate maven module to fix code coverage for multi module projects. This is too intrusive. Why would I want a seperate maven module to fix code coverage...
Do you see other solutions?
Do you think this is a good idea?