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

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

commit 8ebd9f3423a2a32db884fed583fb6f6588987e5c
Author: Dimitris Soumis <[email protected]>
AuthorDate: Thu Oct 15 20:30:54 2026 +0300

    Add JaCoCo XML output to the coverage-report target
---
 build.xml                  | 1 +
 webapps/docs/changelog.xml | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/build.xml b/build.xml
index 2305c90012..307bd92897 100644
--- a/build.xml
+++ b/build.xml
@@ -2310,6 +2310,7 @@
         </sourcefiles>
       </structure>
       <html destdir="${coverage.out}"/>
+      <xml destfile="${coverage.out}/jacoco.xml"/>
     </jacoco:report>
 
   </target>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index f21a2a80ff..0d18041ff2 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -785,6 +785,11 @@
       <update>
         Add directory prefix to embedded ZIP packaging. (schultz)
       </update>
+      <add>
+        Generate a JaCoCo XML coverage report
+        (<code>output/coverage/jacoco.xml</code>) alongside the existing HTML
+        report when the build is run with code coverage enabled. (dsoumis)
+      </add>
       <!-- Entries for backport and removal before 12.0.0-M1 below this line 
-->
     </changelog>
   </subsection>


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

Reply via email to