A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/394 below:

[core] PMD exclude rules are failing with IllegalArgumentException with non-default minimumPriority · Issue #394 · pmd/pmd · GitHub

Rule Set:
In attached project.

Description:
Upgraded to using PMD 5.6.1, now the following rules in our custom ruleset are failing the build with

java.lang.IllegalArgumentException: Unable to exclude rules [RuleNameGoesHere]; perhaps the rule name is mispelled?

Failing rules:
DataflowAnomalyAnalysis
ShortClassName
UselessParentheses

The rule names match up with latest PMD doc so they are not misspelled (ironically, the error message misspells the word misspelled). Why are these failing?
In addition, PMD should provide a list of all available rules (perhaps in INFO mode) instead of a pretty useless error message that leaves the user in the dark.

Code Sample demonstrating the issue:

demo (3).zip

Running PMD through: Gradle

Also see
gradle/gradle#1970


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4