VinodAnandan / sonar-pitest

43 stars 30 forks source link

Sonarqube 7.6 support #37

Open etiennepeiniau opened 5 years ago

etiennepeiniau commented 5 years ago

It seems that org.sonar.api.profiles.RulesProfile has been removed.

org.sonar.plugins.pitest.scanner.PitestSensor has unsatisfied dependency 'class org.sonar.api.profiles.RulesProfile' for constructor 'public org.sonar.plugins.pitest.scanner.PitestSensor(org.sonar.api.config.Configuration,org.sonar.plugins.pitest.scanner.XmlReportParser,org.sonar.api.profiles.RulesProfile,org.sonar.plugins.pitest.scanner.XmlReportFinder,org.sonar.api.batch.fs.FileSystem)' from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@61916f8c:138<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@2d2a6ca9:737<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@3bfce57b:75<|

You can find a similar issue for the sonar-pmd plugin : https://github.com/jensgerdes/sonar-pmd/issues/81

I do not know how to code a sonar plugin so I can not help.

sebastianpetri commented 4 years ago

https://github.com/sebastianpetri/sonar-pitest Tested with Sonarqube 8.1. My program code is very horrible, but it working. ;)