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

Style should be checked during validate, not verify

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • checkstyle:check
    • None

    Description

      The style check currently runs by default at the verify phase of the build lifecycle.

      That is far too late. It should run on the code in the SCM, during the validate phase, before any generated sources/resources are created during the build, before tests and integration tests (which can take a long time).

      If there's a bad style, it should be noticed immediately. The validate phase of the Maven build lifecycle is the most appropriate phase for this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ctubbsii Christopher Tubbs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: