How to ignore common-java:DuplicatedBlocks using pom.xml

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    sonar-maven-plugin -
  • what are you trying to achieve
    I am trying to ignore common-java:DuplicatedBlocks in specific files and specific folders
  • what have you tried so far to achieve this

I have tried this to test but it did not ignore work



To start:

The rule key is actually common-java:DuplicatedBlocks (note the dash in common-java)

Hi Colin.

i had used common-java.
I think the paste here removed it.