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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.10
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: