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

Support ignoreAnnotations options for CPD

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.11.0
    • CPD
    • 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

            olamy Olivier Lamy
            adangel Andreas Dangel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: