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

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -