You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/15 16:09:00 UTC
[jira] [Commented] (MPMD-299) Change of default skipEmptyReport value breaks site:jar
[ https://issues.apache.org/jira/browse/MPMD-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537225#comment-17537225 ]
Michael Osipov commented on MPMD-299:
-------------------------------------
I can confirm that. But there is yet another bug. Result of {{hasViolations()}} is used inverted which is wrong, imho.
> 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)