Maven + Checkstyle: fail build if more violations are introduced? -
having build fail because coding standard violated nice. however, when introducing checkstyle new project, there might lot of violations.
instead of adding 1 , 1 rule, know of (preferably simple) way of setting fail build if more warnings introduced there before?
this not possible. workaround can specify maxallowedviolations (and maybe reduce number manually every check-in).
Comments
Post a Comment