[ 
https://issues.apache.org/jira/browse/MPMD-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319220#comment-16319220
 ] 

Hudson commented on MPMD-243:
-----------------------------

Build succeeded in Jenkins: Maven TLP » maven-pmd-plugin » master #11

See https://builds.apache.org/job/maven-box/job/maven-pmd-plugin/job/master/11/

> excludeFromFailureFile configuration does not work
> --------------------------------------------------
>
>                 Key: MPMD-243
>                 URL: https://issues.apache.org/jira/browse/MPMD-243
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 3.2, 3.5, 3.7, 3.8
>            Reporter: Benedikt Ritter
>            Assignee: Andreas Dangel
>             Fix For: 3.9.0
>
>
> The excludeFromFailureFile configruation is ignored since version 3.1 of 
> Maven PMD plugin. Here is my plugin configuration:
> {code}
>       <plugin>
>         <artifactId>maven-pmd-plugin</artifactId>
>         <!-- Latest version is 3.8, all version above 3.1 ignore the excludes 
> file, hence we're downgrading to 3.1 -->
>         <version>3.8</version>
>         <configuration>
>           <verbose>true</verbose>
>         </configuration>
>         <executions>
>           <execution>
>             <goals>
>               <goal>check</goal>
>             </goals>
>             <configuration>
>               
> <excludeFromFailureFile>${basedir}/config/pmd/pmd-exclude.properties</excludeFromFailureFile>
>             </configuration>
>           </execution>
>         </executions>
>       </plugin>
> {code}
> The pmd-exclude.properties file has the following content:
> {code}
> com.example.ClassWithLotsOfStaticImports=TooManyStaticImports
> {code}
> When I execude mvn clean pmd:check, I get a violation for 
> ClassWithLotsOfStaticImports. It works with 3.0 and 3.1. I've testet several 
> version above 3.1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to