From 8ca18b772c68c728783ea77133f5fd9a0a1d19b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Jul 2026 03:01:59 +0000 Subject: [PATCH 1/2] fix: restore JaCoCo coverage for quickfixj-core and exclude message modules - quickfixj-core/pom.xml: prepend @{argLine} in both surefire profile argLine overrides so the JaCoCo Java agent is actually passed to the test JVM (previously the profile values replaced the parent's @{argLine} and no coverage data was collected for core) - quickfixj-messages/pom.xml: add true for jacoco-maven-plugin so that generated message-class modules are excluded from coverage entirely, preventing golden-file source-mapping artifacts in Codecov - pom.xml: remove the broken jacoco report pattern that used filesystem paths instead of class-name patterns and never matched anything --- pom.xml | 5 ----- quickfixj-core/pom.xml | 4 ++-- quickfixj-messages/pom.xml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index f5463f23e..d633c7ecc 100644 --- a/pom.xml +++ b/pom.xml @@ -470,11 +470,6 @@ report - - - quickfixj-messages/quickfixj-messages-*/target/classes/** - - diff --git a/quickfixj-core/pom.xml b/quickfixj-core/pom.xml index 0d658f0c0..6ed23f0e6 100644 --- a/quickfixj-core/pom.xml +++ b/quickfixj-core/pom.xml @@ -285,7 +285,7 @@ maven-surefire-plugin - -Xmx2g -Djava.net.preferIPv4Stack=true + @{argLine} -Xmx2g -Djava.net.preferIPv4Stack=true false @@ -321,7 +321,7 @@ maven-surefire-plugin - -Xmx2g -Djava.net.preferIPv4Stack=true + @{argLine} -Xmx2g -Djava.net.preferIPv4Stack=true --add-opens java.base/java.lang=ALL-UNNAMED false diff --git a/quickfixj-messages/pom.xml b/quickfixj-messages/pom.xml index 3444deec7..b89989767 100644 --- a/quickfixj-messages/pom.xml +++ b/quickfixj-messages/pom.xml @@ -18,6 +18,18 @@ false + + + + + org.jacoco + jacoco-maven-plugin + + true + + + +