I managed to get a workaround going through the trial version and an error.
It seems that the jacoco plugin is happy to create an exec file without classes, but it will not generate a report without them, I don’t understand how jacoco works inside, so if anyone knows, can you explain this?
I'm also not sure what I did is reliable, but it seems to reflect the scope of my tests caused by selenium.
My (possible) solution I came up with is to use the maven resource plugin to copy the classes that were blown from the war file in my target \ load directory .. to the target \ classes directory:
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>pre-integration-test</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes</outputDirectory>
<resources>
<resource>
<directory>${basedir}/target/cargo/configurations/tomcat7x/webapps/calculator-api/WEB-INF/classes</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*Config*.*</exclude>
<exclude>**/*Initialiser*.*</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
, jacoco , , , .
- , , "" , - , , , exclude jacoco .
jacoco, , , , jacoco.