[ https://issues.apache.org/jira/browse/MPMD-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Dangel reassigned MPMD-256: ----------------------------------- Assignee: Andreas Dangel > 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 > Assignee: 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)