stryker-mutator / sonar-stryker-plugin

A plugin to report stryker results to Sonar
Apache License 2.0
11 stars 6 forks source link

Support SonarQube 7.6 and up #6

Open simondel opened 5 years ago

simondel commented 5 years ago

This plugin does not support the latest versions of SonarQube. With SonarQube 7.9 LTS being released, we should update it.

There is an error during the scan:

org.picocontainer.injectors.AbstractInjector$UnsatisfiableDependenciesException: 
io.github.strykermutator.StrykerSensor has unsatisfied dependency 'class org.sonar.api.profiles.RulesProfile' for constructor 'public io.github.strykermutator.StrykerSensor(org.sonar.api.config.Settings,org.sonar.api.batch.fs.FileSystem,org.sonar.api.profiles.RulesProfile)' 
from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@5cbe2654:104<
[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@3c9168dc:348<
[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@535b1ae6:52<|

This deprecated API call was removed in SonarQube 7.6: https://github.com/SonarSource/sonarqube/commit/33851f1a19fcb539db658f22bd4015a01e6a9c9c

edwardpmarin commented 4 years ago

Hi Simon, I have this same error. Has a solution been implemented for this?

nicojs commented 4 years ago

In general, the SonarQube fell out of favor at our company. If you want to update it, feel free to do so.

raschmitt commented 4 years ago

Has anyone made any progress on this?