I have a lot of projects that inherit from my parent. I enable parental Cobertura coverage reports through the Maven profile, which is activated in our Jenkins CI builds. However, I want to disable Cobertura for one child project (when getting everything else from the parent pom). What is the best way to achieve this?
My first thought is to use:
<configuration> <instrumentation> <excludes> <exclude>**/*.class</exclude> </excludes> </instrumentation>
but I would rather just skip the whole step and not generate an “empty” coverage report.
source share