Prepare Sonar Task is not picking up the Cobertura file. Is looks for Jacoco even though I try to install Cobertura

From this post:

the only option to import Cobertura reports for Java is to use sonar-cobertura […]

This plugin is not included by default in SonarQube though, blindly adding sonar.cobertura.reportPaths is therefore not enough to import coverage. You need to install it.