|
|
|
@ -2069,26 +2069,25 @@
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
|
<version>${jacoco.maven.plugin.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<!-- Prepares the JaCoCo agent for code coverage -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>prepare-agent</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<destFile>${basedir}/target/coverage-reports/jacoco-ut.exec</destFile>
|
|
|
|
|
<destFile>${basedir}/target/coverage-reports/jacoco-aggregate.exec</destFile>
|
|
|
|
|
<append>true</append>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<!-- Post-execution: generates the JaCoCo report -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>report</id>
|
|
|
|
|
<id>report-aggregate</id>
|
|
|
|
|
<phase>verify</phase> <!-- Or another phase as needed -->
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>report</goal>
|
|
|
|
|
<goal>report-aggregate</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<dataFile>${basedir}/target/coverage-reports/jacoco-ut.exec</dataFile>
|
|
|
|
|
<outputDirectory>${basedir}/target/site/jacoco</outputDirectory>
|
|
|
|
|
<outputDirectory>${project.build.directory}/site/jacoco</outputDirectory>
|
|
|
|
|
<!-- No dataFile needed here -->
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|