From cc258cbdd5ec8f2647ca69f2d563ceb5ff7d8629 Mon Sep 17 00:00:00 2001
From: Philip Whitehouse <pwhiteho@flextrade.com>
Date: Tue, 31 Dec 2024 16:44:25 +0000
Subject: [PATCH] Add JaCoCo reporting

---
 pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9f796ce5c1..f4d58f3238 100644
--- a/pom.xml
+++ b/pom.xml
@@ -535,6 +535,26 @@
 					</execution>
 				</executions>
 			</plugin>
+			<plugin>
+				<groupId>org.jacoco</groupId>
+				<artifactId>jacoco-maven-plugin</artifactId>
+				<version>0.8.7</version>
+				<executions>
+					<execution>
+						<id>jacoco-initialize</id>
+						<goals>
+							<goal>prepare-agent</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>jacoco-site</id>
+						<phase>package</phase>
+						<goals>
+							<goal>report</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>
 	<profiles>