Skip to content

Have a way for eclipse-cs to use the same checkstyle version as the maven plugin #222

Open

Description

@victornoel

checkstyle 8.24 was released and introduced breaking changes which required moving around the declaration of one of the checker (see https://checkstyle.sourceforge.io/releasenotes.html#Release_8.24).

It also introduced a new option for this checker and now, when eclipse-cs tries to load the checkstyle configuration, it fails with:

com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module LineLength - Property 'fileExtensions' does not exist, please check the documentation

This is problematic especially because we can't be sure that both the eclipse installations of users and the maven configuration exactly use the same version of checkstyle.

I think an elegant solution to this problem would be to replace the dependency of checkstyle from eclipse-cs with the one specified in the pom.xml.

This is maybe not an easy endeavour and will most certainly require having eclipse-cs evolve…

Activity

  1. vorburger commented on Sep 3, 2019

    @vorburger
    Member
  2. eperret commented on May 21, 2020

    @eperret

    +1,000,000

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