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

If 'src/main/java' does not exist in a project then checkstyle skips the other source folders of the project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.10
    • Component/s: None
    • Labels:
      None

      Description

      I'm not sure whether this is related to MCHECKSTYLE-141.

      If I check a test-project that contains only a folder src/test/java but not a folder src/main/java (even thoud the includeTestDir option is set) then checkstyle ignores the whole project:

      [INFO] — maven-checkstyle-plugin:2.5:checkstyle (default-cli) @ de.faktorlogik.core.tests —
      [INFO] Source directory does not exist - skipping report.
      [INFO] ------------------------------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dennisl@apache.org Dennis Lundberg
                Reporter:
                ulli Ulli Hafner
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: