Sonar gradle plugin with Sonarqube 7.7

Hello Sonarqube Team,

sinse we updated Sonarqube from 7.5 to 7.7 our Sonar-Gradle-Plugin 2.7 unfortunately is not working anymore.

The problem is that some deprecated RulesProfile class was removed in 7.6 and was discussed here

The error is looking like this

Blockquote
org.sonar.plugins.findbugs.FindbugsConfiguration has unsatisfied dependency ‘class org.sonar.api.profiles.RulesProfile’ for constructor ‘public org.sonar.plugins.findbugs.FindbugsConfiguration(org.sonar.api.batch.fs.FileSystem,org.sonar.api.config.Configuration,org.sonar.api.profiles.RulesProfile,org.sonar.plugins.findbugs.FindbugsProfileExporter,org.sonar.plugins.java.api.JavaResourceLocator)’ from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@30f70529:44<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@2db1ed8f:225<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@2f4d79e8:39<|

My question is there any plans to fix this issue?

Reguards

Looks like an issue with the version of the community-supported Findbugs plugin you have installed.

if you check the Plugin Version Matrix you’ll see that only v3.10+ of sonar-findbugs is compatible with SonarQube 7.7. I’d recommend updating and seeing if the issue persists.

1 Like