maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dangel (JIRA)" <>
Subject [jira] [Created] (MPMD-292) PMD Log is not always integrated into maven log
Date Thu, 01 Aug 2019 18:12:00 GMT
Andreas Dangel created MPMD-292:

             Summary: PMD Log is not always integrated into maven log
                 Key: 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

View raw message