Merge "Make running static checks configurable in maven build" into stable-0.12