As an ugly workaround I was able to configure report path to:
sonar.jacoco.reportPath=../build/jacoco/test.exec
sonar.jacoco.itReportPath=../build/jacoco/integTest.exec
and for second level modules (a module mod1
which has its own submodules mod1a
and mod1b
):
mod1.sonar.jacoco.reportPath=../../build/jacoco/test.exec
mod1.sonar.jacoco.itReportPath=../../build/jacoco/integTest.exec
Nevertheless it is very error prone and I hope someone else will have a better idea.