You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (JIRA)" <ji...@apache.org> on 2018/10/03 09:17:00 UTC

[jira] [Created] (MPMD-272) Support ignoreAnnotations options for CPD

Andreas Dangel created MPMD-272:
-----------------------------------

             Summary: Support ignoreAnnotations options for CPD
                 Key: MPMD-272
                 URL: https://issues.apache.org/jira/browse/MPMD-272
             Project: Maven PMD Plugin
          Issue Type: New Feature
          Components: CPD
            Reporter: Andreas Dangel


CPD for Java supports the option `ignoreAnnotations`:

{quote}
--ignore-annotations: Ignore language annotations when comparing text
{quote}

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




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)