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

Version 2.13 includes non-source files in checks

    XMLWordPrintableJSON

    Details

      Description

      Updating maven-checkstyle-plugin to version 2.13 and running

      $ mvn site

      now includes non-source files in its checks, e.g.

      COPYING
      COPYING.LESSER
      target/generated-classes/cobertura/cobertura.properties

      While it is rather amusing to have checkstyle complain that COPYING (the text of the GNU General Public License) doesn't include a license header, it seems that the default source root or one of the other properties new to version 2.13 does not have an appropriate default value. The target directory should also be excluded by default.

        Attachments

        1. mcheckstyle-252.tar.gz
          18 kB
          Michael Heuer

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                heuermh Michael Heuer
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: