As a developer, I want Checkstyle and sonar-devon4j-plugin to work together.
Actual behavior
As soon we install Checkstyle plugin along with sonar-devon4j
Sonarqube server doesn't comeup.
Checkstyle plugin without sonar-devon4j - SonarQube server starts well.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
In Windows - Installed SonarQube server latest version - Installed CheckStyle, FindBugs, CodeSmells and PMD.
SonarQube server starts up successfully. As I copy either of the sonar-devon4j-plugin-2020.12.001.jar or sonar-devon4j-plugin-2020.12.002-SNAPSHOT.jar - SonarQube server doesn't come up. Error logs are pasted below from the sonar - web.log files
2020.12.14 18:14:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile java/devonfw Java
2020.12.14 18:14:48 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
org.sonar.server.exceptions.BadRequestException: Rule template can't be activated on a Quality profile: checkstyle:com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationLocationCheck
at org.sonar.server.exceptions.BadRequestException.create(BadRequestException.java:57)
at org.sonar.server.exceptions.BadRequestException.create(BadRequestException.java:61)
at org.sonar.server.exceptions.BadRequestException.checkRequest(BadRequestException.java:44)
at org.sonar.server.qualityprofile.RuleActivator.doActivate(RuleActivator.java:83)
at org.sonar.server.qualityprofile.RuleActivator.activate(RuleActivator.java:77)
at org.sonar.server.qualityprofile.BuiltInQProfileUpdateImpl.update(BuiltInQProfileUpdateImpl.java:73)
at org.sonar.server.qualityprofile.RegisterQualityProfiles.update(RegisterQualityProfiles.java:132)
at org.sonar.server.qualityprofile.RegisterQualityProfiles.lambda$start$1(RegisterQualityProfiles.java:93)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:405)
at org.sonar.server.qualityprofile.RegisterQualityProfiles.start(RegisterQualityProfiles.java:88)
Expected behavior
As a developer, I want Checkstyle and sonar-devon4j-plugin to work together.
Actual behavior
As soon we install Checkstyle plugin along with sonar-devon4j
Steps to reproduce (bug) / Use Case of feature request (enhancement)
2020.12.14 18:14:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile java/devonfw Java 2020.12.14 18:14:48 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube org.sonar.server.exceptions.BadRequestException: Rule template can't be activated on a Quality profile: checkstyle:com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationLocationCheck at org.sonar.server.exceptions.BadRequestException.create(BadRequestException.java:57) at org.sonar.server.exceptions.BadRequestException.create(BadRequestException.java:61) at org.sonar.server.exceptions.BadRequestException.checkRequest(BadRequestException.java:44) at org.sonar.server.qualityprofile.RuleActivator.doActivate(RuleActivator.java:83) at org.sonar.server.qualityprofile.RuleActivator.activate(RuleActivator.java:77) at org.sonar.server.qualityprofile.BuiltInQProfileUpdateImpl.update(BuiltInQProfileUpdateImpl.java:73) at org.sonar.server.qualityprofile.RegisterQualityProfiles.update(RegisterQualityProfiles.java:132) at org.sonar.server.qualityprofile.RegisterQualityProfiles.lambda$start$1(RegisterQualityProfiles.java:93) at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:405) at org.sonar.server.qualityprofile.RegisterQualityProfiles.start(RegisterQualityProfiles.java:88)
Related/Dependent Issues
Comments/Hints:
Affected version: