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

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


The following commit(s) were added to refs/heads/main by this push:
     new 5a83e243299a chore(dependendencies): protobuf-maven-plugin-version 
4.0.2 (#19806)
5a83e243299a is described below

commit 5a83e243299a0aa75762a524c20e46bf771f257f
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Nov 5 07:18:29 2025 +0100

    chore(dependendencies): protobuf-maven-plugin-version 4.0.2 (#19806)
---
 .github/actions/detect-dependencies/detect-test.sh | 10 ++++++++--
 parent/pom.xml                                     |  2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/.github/actions/detect-dependencies/detect-test.sh 
b/.github/actions/detect-dependencies/detect-test.sh
index 16025b5ded91..26b58ce07716 100755
--- a/.github/actions/detect-dependencies/detect-test.sh
+++ b/.github/actions/detect-dependencies/detect-test.sh
@@ -42,8 +42,14 @@ find_affected_modules() {
   affected_transformed=""
 
   for pom in "${affected[@]}"; do
-      artifactId=$($mavenBinary -f "$pom" help:evaluate 
-Dexpression=project.artifactId -q -DforceStdout)
-      affected_transformed+=":$artifactId,"
+      # artifactId=$($mavenBinary -f "$pom" help:evaluate 
-Dexpression=project.artifactId -q -DforceStdout)
+      # workaround while https://github.com/apache/maven-mvnd/issues/1463 is 
fixed
+      artifactId=$($mavenBinary -f "$pom" help:evaluate 
-Dexpression=project.artifactId | grep -v '\[')
+      if [ ! -z "$artifactId" ]; then
+        affected_transformed+=":$artifactId,"
+      else
+        echo "⚠️ could not find proper artifactId in $pom" >&2
+      fi
   done
 
   echo "$affected_transformed"
diff --git a/parent/pom.xml b/parent/pom.xml
index cd83485d23f6..3537e034a1c3 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -445,7 +445,7 @@
         
<properties-maven-plugin-version>1.2.1</properties-maven-plugin-version>
         
<proto-google-common-protos-version>2.22.0</proto-google-common-protos-version>
         <protobuf-version>3.25.5</protobuf-version>
-        <protobuf-maven-plugin-version>4.0.1</protobuf-maven-plugin-version>
+        <protobuf-maven-plugin-version>4.0.2</protobuf-maven-plugin-version>
         <protonpack-version>1.8</protonpack-version>
         <prowide-version>SRU2025-10.3.2</prowide-version>
         <pubnub-version>11.0.0</pubnub-version>

Reply via email to