Failed to execute goal sonarqube 9

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Enterprise EditionVersion 9.0.1, COVERAGE 2.0; java 11
  • what are you trying to achieve
    mvn clean install cobertura:cobertura
  • what have you tried so far to achieve this


Update Sonarqube from version 8.9.2 to version 9.0.1 Error occurs when trying to execute coverage
What I can do

Log Error:
Failed to execute goal org.codehaus.mojo:cobertura-maven-plugin:2.7:clean (verificar-cobertura) on project sri-seguridad-adicional: Execution verificar-cobertura of goal org.codehaus.mojo:cobertura-maven-plugin:2.7:clean failed: Plugin org.codehaus.mojo:cobertura-maven-plugin:2.7 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:0 at specified path /home/jboss/herramientas/jdk-11.0.12/…/lib/tools.jar


1 Like


Welcome to the community!

Sorry, but the execution of the Cobertura goal is entirely outside the scope of this community.