Sonarqube Version: Data Center Edition - Version 9.6 (build 59041)
I am trying to ignore duplicate warnings for particular set of file (DTO classes).
I tried using sonar property while running scan sonar.cpd.exclusions=.*DTO.java but still have same duplicate issues.
Tried ignore issues on Multiple criteria, SS attached here. But Still getting duplicate issues.
If you have a Data Center Edition license, you certainly have access to SonarSource’s Commercial Support Offering. I’d encourage you to take advantage of it.
And, you can’t use . in the File Path Pattern. If you want to exclude all files that end with DTO.java, a more appropriate pattern would be **/*DTO.java