maven-issues mailing list archives

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

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

Andreas Dangel commented on MPMD-292:
-------------------------------------

The jul-to-slfj4-bridge was added with MPMD-244 and can be enabled/disabled via property pmd.showPmdLog.

> 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: Bug
>          Components: CPD, PMD
>            Reporter: Andreas Dangel
>            Assignee: Andreas Dangel
>            Priority: Major
>             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)

Mime
View raw message