From 57b2ca8117d9f5dd97b8c3438cf573eef2288379 Mon Sep 17 00:00:00 2001
From: gsergiu <4517853+gsergiu@users.noreply.github.com>
Date: Thu, 22 Jan 2026 11:50:37 +0100
Subject: [PATCH 1/4] enable jacoco xml aggregation #EA-4270
---
.github/workflows/readme.txt | 12 +++++++--
pom.xml | 48 +++++++++++++++++++++++++++++++++---
2 files changed, 54 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/readme.txt b/.github/workflows/readme.txt
index 758ec25..30cb45e 100644
--- a/.github/workflows/readme.txt
+++ b/.github/workflows/readme.txt
@@ -12,9 +12,17 @@ gpg --symmetric --cipher-algo AES256 entity-client.properties
B - Use Encrypted Properties
1. Create & configure decrypt script (decrypt_config.sh)
1.1 ensure executions rights before committing to github:
+# on linux
+chmod +x ./.github/workflows/decrypt_config.sh
+
#on Windows cygwin or WSL or Git Bash can be used
-chmod +x decrypt_config.sh
-ls -l decrypt_config.sh
+git add --chmod=+x ./.github/workflows/decrypt_config.sh
+#if the file was allready added to git, use the following
+#git update-index --chmod=+x ./.github/workflows/decrypt_config.sh
+#verify execution permissions
+git ls-files --stage
+1.2 commit file to gihub
+git commit -m"Executable script!"
2. Ensure that the application is able to load properties from external file and that the decripted properties file matches the location from which the app is loading properties
3. Update Github Workflow to run decrypt script (NOTE: secrets.CLIENT_PROPS_PASS is the name of the secret in Github secrets see Settings-> Secrets and Variables -> Actions -> Secrets)
diff --git a/pom.xml b/pom.xml
index d0659f1..e327025 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,12 +59,9 @@
europeana
https://sonarcloud.io
**/*.gpg,**/*.template
-
${project.build.directory}/pmd.xml
${project.build.directory}/spotbugsXml.xml
@@ -171,8 +168,50 @@
prepare-agent
+
+ verify
+
+ report-aggregate
+
+
+
+
+ **/jacoco.exec
+
+
+ ${project.reporting.outputDirectory}/jacoco
+
+
+
+
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco-plugin.version}
+
+
+ verify
+
+ report-aggregate
+
+
+
+
+ **/jacoco.exec
+
+
+ ${project.reporting.outputDirectory}/jacoco-aggregate
+
+
+
+
+
org.apache.maven.plugins
maven-pmd-plugin
@@ -243,6 +282,7 @@
+
From 6c263f3edcba2eba8abb21a2468de7710d08c477 Mon Sep 17 00:00:00 2001
From: gsergiu <4517853+gsergiu@users.noreply.github.com>
Date: Thu, 22 Jan 2026 12:15:19 +0100
Subject: [PATCH 2/4] merge file
---
pom.xml | 42 ++++++++++++------------------------------
1 file changed, 12 insertions(+), 30 deletions(-)
diff --git a/pom.xml b/pom.xml
index e327025..8ec232f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,12 +66,7 @@
${project.build.directory}/spotbugsXml.xml
**/model/**/*
-
-
-
-
+
3.1
5.0.0
3.0.0-M5
@@ -186,32 +181,19 @@
-
-
+
- org.jacoco
- jacoco-maven-plugin
- ${jacoco-plugin.version}
-
-
- verify
-
- report-aggregate
-
-
-
-
- **/jacoco.exec
-
-
- ${project.reporting.outputDirectory}/jacoco-aggregate
-
-
-
-
-
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${surefire.version}
+
+
+ **/*Test.java
+
+
+
-
+
org.apache.maven.plugins
maven-pmd-plugin
From 6cb9581f6cf7eead391aed5a86a3f4f6eacbedd3 Mon Sep 17 00:00:00 2001
From: gsergiu <4517853+gsergiu@users.noreply.github.com>
Date: Thu, 22 Jan 2026 12:32:26 +0100
Subject: [PATCH 3/4] try failesafe for code coverage #EA-4270
---
pom.xml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/pom.xml b/pom.xml
index 8ec232f..b578427 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,6 +193,33 @@
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${failsafe.version}
+
+
+
+ integration-test
+ verify
+
+
+
+
+
+
+ false
+
+ **/*Test.java
+
+
+
+
org.apache.maven.plugins
From a304a00332f8a2edb8b0720bfd819571d38f1013 Mon Sep 17 00:00:00 2001
From: gsergiu <4517853+gsergiu@users.noreply.github.com>
Date: Thu, 22 Jan 2026 13:02:51 +0100
Subject: [PATCH 4/4] try with jacoco-aggregate
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index b578427..8aae344 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,7 +60,7 @@
https://sonarcloud.io
**/*.gpg,**/*.template
- target/site/jacoco/jacoco.xml
+ target/site/jacoco-aggregate/jacoco.xml
${aggregate.report.xml}
${project.build.directory}/pmd.xml
@@ -174,7 +174,7 @@
**/jacoco.exec
- ${project.reporting.outputDirectory}/jacoco
+ ${project.reporting.outputDirectory}/jacoco-aggregate