Here you can find example how to use sevntu-checkstyle-maven-plugin plugin in Maven and Ant projects