[ https://issues.apache.org/jira/browse/MPMD-299 ]


    Michael Osipov deleted comment on MPMD-299:
    -------------------------------------

was (Author: michael-o):
I can confirm that. But there is yet another bug. Result of {{hasViolations()}} 
is used inverted which is wrong, imho. Regardless of the value for this plugin, 
the rest of site should still go on.

> Change of default skipEmptyReport value breaks site:jar
> -------------------------------------------------------
>
>                 Key: MPMD-299
>                 URL: https://issues.apache.org/jira/browse/MPMD-299
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: CPD, PMD
>    Affects Versions: 3.13.0
>            Reporter: Matt Nelson
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Change of default skipEmptyReport value in MPMD-225 causes 
> [site:jar|https://maven.apache.org/plugins/maven-site-plugin/jar-mojo.html] 
> to be empty.
> Had to revert to the value to get site jars working again.
> {code:xml}
> <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-pmd-plugin</artifactId>
>     <version>3.13.0</version>
>     <configuration>
>         <skipEmptyReport>true</skipEmptyReport>
>     </configuration>
> </plugin>
> {code}
> Working on getting a repro case against 
> https://github.com/apache/maven-pmd-plugin



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to