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

pcongiusti 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 d49945383833 fix(ci): add mvnd --raw-streams
d49945383833 is described below

commit d4994538383358849286674f4abe0ecf7c274264
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Fri Jan 9 09:58:04 2026 +0100

    fix(ci): add mvnd --raw-streams
    
    It should be the solution and avoid the workaround applied to inspect an 
artifact-id
---
 .github/actions/detect-dependencies/detect-test.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.github/actions/detect-dependencies/detect-test.sh 
b/.github/actions/detect-dependencies/detect-test.sh
index 34d67a398498..d162c5b8e4b8 100755
--- a/.github/actions/detect-dependencies/detect-test.sh
+++ b/.github/actions/detect-dependencies/detect-test.sh
@@ -52,11 +52,7 @@ find_affected_modules() {
 
   for pom in "${affected[@]}"; do
     if [[ -f "$pom" ]]; then
-      # artifactId=$($mavenBinary -f "$pom" help:evaluate 
-Dexpression=project.artifactId -q -DforceStdout)
-      # NOTE: as we use mvnd, we must be aware of certain open issues
-      # - https://github.com/apache/maven-mvnd/issues/1463
-      # - https://github.com/apache/maven-mvnd/issues/1465
-      artifactId=$($mavenBinary -f "$pom" help:evaluate 
-Dexpression=project.artifactId | grep -v '\[' | grep -v ' ')
+      artifactId=$($mavenBinary -f "$pom" help:evaluate 
-Dexpression=project.artifactId -q --raw-streams -DforceStdout)
       if [ ! -z "$artifactId" ]; then
         affected_transformed+=":$artifactId,"
       fi

Reply via email to