Skip to content

Commit

Permalink
Add necessary aggregate reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Apr 16, 2024
1 parent a4a40b1 commit fe013e3
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
30 changes: 30 additions & 0 deletions log4j-api-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,34 @@

</plugins>
</build>

<profiles>

<profile>
<id>coverage</id>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>report-test-coverage</id>
<phase>none</phase>
</execution>
<execution>
<id>report-aggregate-test-coverage</id>
<goals>
<goal>report-aggregate</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>
27 changes: 27 additions & 0 deletions log4j-core-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,33 @@
</dependency>
</dependencies>
</profile>

<profile>
<id>coverage</id>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>report-test-coverage</id>
<phase>none</phase>
</execution>
<execution>
<id>report-aggregate-test-coverage</id>
<goals>
<goal>report-aggregate</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>

</project>
26 changes: 26 additions & 0 deletions log4j-layout-template-json-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,34 @@

</plugins>
</build>
</profile>

<profile>
<id>coverage</id>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>report-test-coverage</id>
<phase>none</phase>
</execution>
<execution>
<id>report-aggregate-test-coverage</id>
<goals>
<goal>report-aggregate</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>

</project>

0 comments on commit fe013e3

Please sign in to comment.