galexandre / sonar-cobertura

Cobertura plugin for SonarQube
GNU General Public License v3.0
30 stars 26 forks source link

Plugin Cobertura [cobertura] is ignored during installation of plugin in SonarQube #27

Closed srisaravananwt closed 5 years ago

srisaravananwt commented 5 years ago

Using following versions,

  1. SonarQube Version 6.7 (build 33306)
  2. SonarJava plugin 4.15.0.12310
  3. sonar-cobertura-plugin-2.0.jar

When I place the sonar-cobertura-plugin-2.0.jar in /extensions/plugins directory and started the SonarQube server. I am getting below warning and server is not getting started.

2019.01.07 11:18:51 WARN web[][o.s.s.p.ServerPluginRepository] Plugin Cobertura [cobertura] is ignored because the version java of required plugin [5.1.0.13090] is not supported

galexandre commented 5 years ago

Hello,

It seems you need to upgrade the version of the Java plugin. Minimum 5.1.

Regards,

G

sadovnikov commented 5 years ago

Seems you use sonar-java-plugin-4.15.0.12310.jar from lib/bundled-plugins/ directory of SonarQube. I'm not getting this logic either, but according to https://docs.sonarqube.org/display/PLUG/Plugin+Version+Matrix with SonarQube 6.7 you should use 5.9.2 version of Java plugin. I'm downloading this one to extensions/plugins. However no clue what to do with content of lib/bundled-plugins/