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

2020-01-19 Thread Hudson (Jira)


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

Hudson commented on MPMD-225:
-

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

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

> Create  report even if no warnings have been found by default
> -
>
> Key: MPMD-225
> URL: https://issues.apache.org/jira/browse/MPMD-225
> Project: Maven PMD Plugin
>  Issue Type: Wish
>  Components: CPD, PMD
>Reporter: Johannes Wienke
>Assignee: Andreas Dangel
>Priority: Major
> Fix For: 3.13.0
>
>
> 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
(v8.3.4#803005)


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

2019-12-19 Thread Elliotte Rusty Harold (Jira)


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

Elliotte Rusty Harold commented on MPMD-225:


I agree. We should flip the default of skipEmptyReport to false.

> 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
>Priority: Major
>
> 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
(v8.3.4#803005)


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

2016-08-05 Thread Johannes Wienke (JIRA)

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

Johannes Wienke commented on MPMD-225:
--

This looks good. A switched default would make more sense to me. Otherwise, 
people might question whether checks have worked at all.

> 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)


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

2016-08-05 Thread Andreas Dangel (JIRA)

[ 
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)