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] [Updated] (MPMD-256) Add maxAllowedViolations property for PMD
Date Mon, 19 Mar 2018 21:05:00 GMT

     [ https://issues.apache.org/jira/browse/MPMD-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Dangel updated MPMD-256:
--------------------------------
    Issue Type: New Feature  (was: Bug)

> Add maxAllowedViolations property for PMD
> -----------------------------------------
>
>                 Key: MPMD-256
>                 URL: https://issues.apache.org/jira/browse/MPMD-256
>             Project: Maven PMD Plugin
>          Issue Type: New Feature
>          Components: PMD
>            Reporter: Andreas Dangel
>            Priority: Major
>             Fix For: 3.10.0
>
>
> Add the ability to set the maximum number of allowed violations before a build fails.
> The idea being that you could set a threshold of errors before the build would actually
fail, instead of the default of 1. This would be useful for legacy code that had not always
been using PMD and needs to be cleaned up over time. If the value is set then the code can't
get worse and people can use it to help clean up their projects.
> This is similar to the checkstyle property [http://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html#maxAllowedViolations]
>  
> PR: [https://github.com/apache/maven-pmd-plugin/pull/1]
>  



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

Mime
View raw message