devcon5io / mutation-analysis-plugin

Plugin for SonarQube to process mutation analysis results.
GNU Lesser General Public License v3.0
30 stars 17 forks source link

Compatibility is broken with SonarQube 7.6 #25

Closed varrocen closed 5 years ago

varrocen commented 5 years ago

I have upgrade my SonarQube to 7.6 and now I have an error when I scan my project:

ERROR: Error during SonarQube Scanner execution
ERROR: ch.devcon5.sonar.plugins.mutationanalysis.sensors.PitestSensor has unsatisfied dependency 'class org.sonar.api.profiles.RulesProfile' for constructor 'public ch.devcon5.sonar.plugins.mutationanalysis.sensors.PitestSensor(org.sonar.api.config.Configuration,org.sonar.api.profiles.RulesProfile,org.sonar.api.batch.fs.FileSystem)' from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@55b62629:45<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@6c2c1385:353<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@585ac855:39<|
gmuecke commented 5 years ago

Hi varrocen, thank you for reporting. I can reproduce & confirm the issue and will work on a fix in the next days.

gmuecke commented 5 years ago

It seemed, other plugins had similar issues with the RulesProfile dependency.

Solution would be to use the ActiveRules instead. I tried it locally, looks promising. But I need some more tests. But I'm positive I can provide a fix beginning of the upcoming week.

varrocen commented 5 years ago

Hi ! Thank you for your fix.

abego commented 5 years ago

I saw you put the issue in Done in Release 1.4. When do you plan to do the release/publish it?

gmuecke commented 5 years ago

I'm finalizing some tests, I think I'll release it this week.

On Sun, Feb 17, 2019 at 7:54 PM abego notifications@github.com wrote:

I saw you put the issue in Done in Release 1.4. When do you plan to do the release/publish it?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/devcon5io/mutation-analysis-plugin/issues/25#issuecomment-464494578, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBMKtRoX0nYIRNXTuD31KXNvyVyPDEnks5vOaVWgaJpZM4au9FL .