Serge Veras
Serge Veras

Reputation: 21

How to activate custom java rules during SonarQube analysis?

I implemented custom rules for java as described here enter link description here. Rules are visible on the server side at rules page, but no one from them is applied to code during analysis. I'm using sonar 5.1.1 and updated sonar-java-plugin to v3.2. I'm wonder what's wrong. During debug using sonar-runner I noticed that my CheckRegistrar is loaded but checks from it is ignored.

Upvotes: 0

Views: 731

Answers (1)

Serge Veras
Serge Veras

Reputation: 21

The solution is simple...Rules have to be included in Quality Profile.......

Upvotes: 1

Related Questions