Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-292

PMD Log is not always integrated into maven log

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.13.0
    • Component/s: CPD, PMD
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adangel Andreas Dangel
                Reporter:
                adangel Andreas Dangel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: