maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dangel (JIRA)" <>
Subject [jira] [Commented] (MPMD-219) Maven PMD Plugin ignores PMD processing errors
Date Mon, 25 Jan 2016 11:52:39 GMT


Andreas Dangel commented on MPMD-219:


> Maven PMD Plugin ignores PMD processing errors
> ----------------------------------------------
>                 Key: MPMD-219
>                 URL:
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 3.6
>            Reporter: Andreas Dangel
>            Priority: Minor
> If a source file cannot be parsed by PMD, the error is reported as a "processing error"
and continues with the next file.
> However, the maven plugin doesn't use this information. This leads to a situation, where
project build is successful despite PMD violations - because PMD skipped files which it can't
> This is not such a big problem if the files are compiled before (e.g. executing PMD in
a phase later than compile) - as the compiler plugin would fail the build already.
> But if "pmd:pmd" or "pmd:check" is called directly, maven would not fail the build.
> See also
> I'll provide a PR for this bug.

This message was sent by Atlassian JIRA

View raw message