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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.13.0
    • CPD, PMD
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: