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

Test Classes are not checked if not src/main/java folder exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.10
    • None
    • None

    Description

      I have a maven java project with only the following folders:
      src/main/resources
      src/test/java
      src/test/resources
      but without the src/main/java folder.

      But it still i want to check the style of the Test Classes in src/test/java.

      i set <includeTestSourceDirectory> to true but my Test Classes will not be checkstyled until i add am empty src/main/java folder.

      Attachments

        Activity

          People

            Unassigned Unassigned
            msueess Michael Sueess
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: