This is a known issue with the 2.10 version of the maven-checkstyle plugin. See the comments here:
https://jira.codehaus.org/browse/MCHECKSTYLE-184
You can either downgrade to version 2.9.1 or wait until they fix the configuration of this in a newer version.