Checkout the https://bitbucket.org/atlassian/maven-clover2-plugin Mercurial repository.
In the src/it directory you'll find a number code examples showing integrations with various frameworks, inclusion filters, compilation of Java 8 and Groovy code etc.