I'm trying to ignore some generated classes, and the classes get ignored fine. But if those classes have inner classes, those classes still get included, despite the parent class being excluded. This is my configuration:
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<excludes>
<exclude>**/*DB.*</exclude>
<exclude>**/*DTO.*</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
Attempting to use the standard Java name convention of ParentClass.NestedClass by excluding **/*DB.*.*
did not help.