maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dangel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MPMD-272) Support ignoreAnnotations options for CPD
Date Wed, 03 Oct 2018 09:17:00 GMT
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)

Mime
View raw message