Details
Description
The method getFileName on class Violation returns the class name with slash or back slash. On the method extractClassName in the Class PmdViolationCheckMojo the backslashes are replaced with dots in order to compose the package name, but some
classes do not meet this condition and stay with the original class name and are not found on the map excludeFromFailureClasses that contains the classes and the rules with exceptions.
This generates an error even if the class and the rule are included on the exception file.
Attachments
Attachments
Issue Links
- relates to
-
MPMD-161 PMD/CPD violation exclusions by class/issue
- Closed