Java test coverage setting is wrong in multi-module maven project

${project.basedir} points to the submodule directory and unable to collect the coverage of sub-modules correctly.
use ${maven.multiModuleProjectDirectory} instead
${maven.multiModuleProjectDirectory} always points to the maven root directory

correct setting:

<properties>
  <sonar.coverage.jacoco.xmlReportPaths>
    ${maven.multiModuleProjectDirectory}/report-aggregate/target/site/
      jacoco-aggregate/jacoco.xml
  </sonar.coverage.jacoco.xmlReportPaths>
</properties>

Hi!

Welcome to the community!

Thank you for pointing this out. We will correct the documentation.