Skip to content

Global switch for "exclude files outside source directories" #109

Open

Description

@ctron

Assume you have a checkstyle configuration as described in [1], also checking pom.xml files in the root directory of the project, then currently those errors (on the module root) will not be shown by checkstyle in Eclipse, but reported by checkstyle run from Maven.

It is possible to open the project local settings for checkstyle and select the java-sources-checkstyle-check resource set and untick "files outside source directories". However this has to be done on each and every desktop for each and every project.

[1] https://vzurczak.wordpress.com/2016/11/28/checking-root-resources-with-checkstyle-and-maven/

Activity

  1. ctron commented on Jul 10, 2017

    @ctron
    Author

    My suggestion would be to untick this flag by default and simply use the source set provided by the checkstyle plugin configuration from maven.

  2. vorburger commented on Sep 19, 2018

    @vorburger
    Member

    @ctron hallo Jens, nice to "see" you again here too... I know (from knowing you) that you know how this opensource thing 😃 works - as per #124 I wouldn't have the time to look into and fix this issue, but if you could raise a PR which fixes, I can (now) promise that we can get it merged and released (#123) ... looking forward to your contributions! 😈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions