[
https://issues.apache.org/jira/browse/MPMD-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MPMD-190.
-------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> Seperate CPD configuration from PMD i.e. exclude/include paths
> --------------------------------------------------------------
>
> Key: MPMD-190
> URL: https://issues.apache.org/jira/browse/MPMD-190
> Project: Maven PMD Plugin
> Issue Type: Bug
> Components: CPD
> Affects Versions: 3.2
> Environment: n/a
> Reporter: John Patrick
> Priority: Major
>
> CPD highlights lots of warnings in our jpa entity packages and also out dto
> builders. This is correct lots of tables have the same fields. We can exclude
> them but this also excludes pmd, ideally we just want to exclude the
> following paths from CPD but still have PMD checked on them.
> **/data/entity/*.java
> **/data/builder/*.java
> I see two options, either both pmd and cpd get their own nested
> <configuration>, or cpd it split into it's own top level plugin. I realise
> splitting the plugin is a lot of work so giving the option to have their own
> nest configuration might be simpler...
> We have about 1000 cpd warnings, of which 90% are specifically around jpa
> entities or dto builders. Jenkins reports issues but we have the threshold so
> high it makes it useless...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)