sonar project properties Exclude rule squid:S1191

Viewed 3474

I have a Java project and it will be submitted in Gitlab. In the code present in Gitlab, SonarQube will be used for its analysis. Currently the project is showing Code Smells with detail Classes from "sun.*" packages should not be used.

How do I include the exclusion of this rule when my Maven Project is analysed by SonarQube?

What I go to know is that we have to put this in sonar-project.properties. But I am not able to find what tag should be used for that.

1 Answers
Related