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] [Updated] (MPMD-292) PMD Log is not always integrated into maven log
Date Thu, 01 Aug 2019 18:16:00 GMT

     [ https://issues.apache.org/jira/browse/MPMD-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Dangel updated MPMD-292:
--------------------------------
    Description: 
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.

  was:
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.


> 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