Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
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.