The code generated by jaxb is currently generated in a package where we have proper classes. We ignored the whole package in the checkstyle configuration thus ignoring violations of our classes located in org.hibernate.validator.internal.xml.