I have a maven multi-module project and I\'m using jacoco-maven for code coverage reports. Some classes should not be reported, as they\'re Spring configuration and I\'m not
Another solution:
org.jacoco
jacoco-maven-plugin
0.7.5.201505241946
default-prepare-agent
prepare-agent
default-report
prepare-package
report
default-check
check
com.mypackage1 com.mypackage2
PACKAGE
COMPLEXITY
COVEREDRATIO
0.85
Please note that, we are using " in the configuration which then helps us to exclude at package level.