This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit f08e8ef4ebad1c33075cc0a4887713ac92300635
Author: opencode <[email protected]>
AuthorDate: Fri Oct 23 16:14:42 2026 +0200

    Add JaCoCo Maven plugin to jdbc-pool module
    
    Attach the JaCoCo agent to the Surefire JVM and generate a coverage
    report (target/site/jacoco) during the test phase, so that the test
    coverage of the JDBC pool can be assessed.
    
    Version 0.8.15 is the current JaCoCo release.
---
 modules/jdbc-pool/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/modules/jdbc-pool/pom.xml b/modules/jdbc-pool/pom.xml
index 5d62309f48..2f9ecb8809 100644
--- a/modules/jdbc-pool/pom.xml
+++ b/modules/jdbc-pool/pom.xml
@@ -106,6 +106,26 @@
         <configuration>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+        <version>0.8.15</version>
+        <executions>
+          <execution>
+            <id>prepare-agent</id>
+            <goals>
+              <goal>prepare-agent</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>report</id>
+            <phase>test</phase>
+            <goals>
+              <goal>report</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
 
 
       <plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to