You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (JIRA)" <ji...@apache.org> on 2016/08/05 12:35:20 UTC

[jira] [Commented] (MPMD-225) Create report even if no warnings have been found

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

Andreas Dangel commented on MPMD-225:
-------------------------------------

There is already a parameter: `skipEmptyReport`

> skipEmptyReport:
> Skip the PMD/CPD report generation if there are no violations or duplications found. Defaults to true.
> 
>    Type: boolean
>    Since: 3.1
>    Required: No
>    Default: true

(from http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#skipEmptyReport)

[~languitar] Would this parameter solve your issue? Would it be better to have the default for this parameter to create the report, rather than skip the empty report?


> Create  report even if no warnings have been found
> --------------------------------------------------
>
>                 Key: MPMD-225
>                 URL: https://issues.apache.org/jira/browse/MPMD-225
>             Project: Maven PMD Plugin
>          Issue Type: Wish
>            Reporter: Johannes Wienke
>
> Right now, no report for the site plugin is generated if no violations have been found. This is sometimes quite confusing as this state cannot be distinguished from "the plugin didn't work at all". Checkstyle for example just generates an empty report in these cases, which is what I would also like for the pmd plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)