Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1236

Create a checkstyle definition and hook it into the Maven build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • build

    Description

      The community has put together a comprehensive set of coding guidelines here: https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines.

      We need a checkstyle definition that we can enforce automatically via the Maven Checkstyle plugin.

      We can choose to output violations as warnings, or to fail the build if violations exist. At this point I would prefer the former to avoid "stopping the world". With such a large codebase it is likely that checkstyle violations are already present.

      This will help contributors adequate their style to the community's standard while they are coding, and will reduce frustration otherwise caused by submitting pull requests that do not satisfy guidelines, and having to rectify them at a later stage.

      Attachments

        Issue Links

          Activity

            People

              raulvk Raúl Kripalani
              raulvk Raúl Kripalani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: