From ce4ebeac535854d6eb6bc2fa1e58f30fe5dcec95 Mon Sep 17 00:00:00 2001 From: Kevin Gordillo Date: Wed, 10 Jun 2026 16:06:35 +0000 Subject: [PATCH 1/2] chore: upgrade shared-configuration to 1.2.2, update Java version to 25, and add JaCoCo test coverage plugin --- functions/pubsub/publish-message/pom.xml | 25 +++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/functions/pubsub/publish-message/pom.xml b/functions/pubsub/publish-message/pom.xml index f8a78c28221..bb30fde5946 100644 --- a/functions/pubsub/publish-message/pom.xml +++ b/functions/pubsub/publish-message/pom.xml @@ -27,12 +27,12 @@ com.google.cloud.samples shared-configuration - 1.2.0 + 1.2.2 - 11 - 11 + 25 + 25 UTF-8 @@ -116,6 +116,25 @@ false + + org.jacoco + jacoco-maven-plugin + 0.8.14 + + + + prepare-agent + + + + report + test + + report + + + + From 31ffef17afeca29bd2019a182822ba72ff40fa25 Mon Sep 17 00:00:00 2001 From: Kevin Gordillo Date: Wed, 10 Jun 2026 16:09:08 +0000 Subject: [PATCH 2/2] Change to java 21 to let kokoro works --- functions/pubsub/publish-message/pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/pubsub/publish-message/pom.xml b/functions/pubsub/publish-message/pom.xml index bb30fde5946..732a7bf91af 100644 --- a/functions/pubsub/publish-message/pom.xml +++ b/functions/pubsub/publish-message/pom.xml @@ -31,8 +31,9 @@ - 25 - 25 + + 21 + 21 UTF-8