Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-272

Support ignoreAnnotations options for CPD

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11.0
    • Component/s: CPD
    • Labels:
      None

      Description

      CPD for Java supports the option `ignoreAnnotations`:

      --ignore-annotations: Ignore language annotations when comparing text

      https://pmd.github.io/pmd-6.8.0/pmd_userdocs_cpd.html#cli-options

      We support already `ignoreLiterals` and `ignoreIdentifiers`.

      See also https://stackoverflow.com/questions/52441537/how-can-i-ignore-annotations-when-using-maven-cpd

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              adangel Andreas Dangel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: