[
https://issues.apache.org/jira/browse/MPMD-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038710#comment-15038710
]
Hudson commented on MPMD-186:
-----------------------------
SUCCESS: Integrated in maven-plugins #4850 (See
[https://builds.apache.org/job/maven-plugins/4850/])
[MPMD-186] Class names with slash are omitted from exclusions on pmd:check
Contributed by: Justin Shepard <[email protected]> (michaelo:
[http://svn.apache.org/viewvc/?view=rev&rev=1717853])
*
maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdViolationCheckMojo.java
*
maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-pmd-exclusions-configuration-plugin-config.xml
* maven-pmd-plugin/src/test/resources/unit/excludes/pmd_exclude.properties
> Class names with slash are omitted from exclusions on pmd:check
> ---------------------------------------------------------------
>
> Key: MPMD-186
> URL: https://issues.apache.org/jira/browse/MPMD-186
> Project: Maven PMD Plugin
> Issue Type: Bug
> Components: PMD
> Affects Versions: 3.1, 3.5
> Environment: Ubuntu 13.04 Jdk 1.7 Maven 3.1.1
> Reporter: Diego Almeida
> Assignee: Michael Osipov
> Priority: Critical
> Fix For: 3.6
>
> Attachments: maven-pmd-plugin.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)