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...@codehaus.org> on 2014/11/29 19:55:10 UTC
[jira] (MPMD-187) Report is generated even when skip is true
[ https://jira.codehaus.org/browse/MPMD-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=358250#comment-358250 ]
Andreas Dangel commented on MPMD-187:
-------------------------------------
New pull request: https://github.com/apache/maven-plugins/pull/36
This is basically the same as in #21 , but additionally for cpd.skip, too and it adds a integration test.
> Report is generated even when skip is true
> ------------------------------------------
>
> Key: MPMD-187
> URL: https://jira.codehaus.org/browse/MPMD-187
> Project: Maven PMD Plugin
> Issue Type: Bug
> Components: PMD
> Affects Versions: 3.1
> Reporter: Ryan Heinen
>
> When pmd.skip is true, the XML and/or HTML reports are still generated. Even though they are empty, generating these files actually takes significant portion of overall build time time because a velocity engine must be instantiated. skipEmptyReports doesn't seem to avoid the cost of initializing the velocity engine.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)