I am asking if the exclusions configured for the maven jacoco plugin will also be respected by the Jenkins JaCoco Plugin?
In my POM, I have a standard exclusions configuration and I can see that it works in the build output. This means, for my project, that the maven-jacoco-plugin prepare-agent-integration goal shows my exclusions being applied and the report goal shows only 10 (instead of 16) files included.
But my observation is that in my Jenkins pipeline, the 6 files that should be excluded are included in the report produced from the Jenkins JaCoco Plugin.
Is this expected?
Do I have to duplicate the exclusions configuration for maven-jacoco-plugin in the Jenkins JaCoCo Plugin configuration in order to get a consistent experience?