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 2019/08/01 18:12:00 UTC

[jira] [Created] (MPMD-292) PMD Log is not always integrated into maven log

Andreas Dangel created MPMD-292:
-----------------------------------

             Summary: PMD Log is not always integrated into maven log
                 Key: MPMD-292
                 URL: https://issues.apache.org/jira/browse/MPMD-292
             Project: Maven PMD Plugin
          Issue Type: Improvement
          Components: CPD, PMD
            Reporter: Andreas Dangel
            Assignee: Andreas Dangel
             Fix For: 3.13.0


On some jenkins builds, the Integration Test "MPMD-268-deprecated-rules" sometimes fails. The verification expects in the log a line

{{[WARNING] ... some warning from pmd}}

But instead we get e.g.

{{Jul 26, 2019 8:14:59 PM net.sourceforge.pmd.RuleSetFactory parseRuleReferenceNode}}
{{ WARNING: ... some warning from pmd}}

This is probably due to the possibility, that the java.util.Logger instance might be garbage collected, so that the logging configuration and the jul-to-slf4j-bridge is gone.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)