Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-295

Test resources are not included

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.15
    • 2.16
    • checkstyle:check
    • None

    Description

      The documentation says the plugin includes test resources by default, but apparently it never does.

      After examining the code, it seems CheckstyleViolationCheckMojo.execute() forgets to call request.setTestResources(), hence that is always null and skipped from audit.

      Attachments

        1. MCHECKSTYLE-295.diff
          8 kB
          Csaba Kozák

        Activity

          People

            rfscholte Robert Scholte
            WonderCsabo Csaba Kozák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: