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

gnodet pushed a commit to branch camel-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.22.x by this push:
     new 3e255b14f770 [backport camel-4.22.x] chore: camel-package-maven-plugin 
- filter the jackson3 data formats from the catalog also on Windows (#27313)
3e255b14f770 is described below

commit 3e255b14f770a34e12823a49ab07f3c75f71d2b3
Author: Guillaume Nodet <[email protected]>
AuthorDate: Sat Oct 3 11:15:51 2026 +0200

    [backport camel-4.22.x] chore: camel-package-maven-plugin - filter the 
jackson3 data formats from the catalog also on Windows (#27313)
---
 .../main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
index cfd0d6d071dc..9777a59f7473 100644
--- 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
+++ 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
@@ -1605,7 +1605,8 @@ public class PrepareCatalogMojo extends AbstractMojo {
      */
     private Set<Path> filterJackson3Duplicates(Set<Path> jsonFiles) {
         return jsonFiles.stream()
-                .filter(p -> 
!p.toString().contains("/components/camel-jackson3"))
+                // use forward slashes so the check also works with Windows 
paths
+                .filter(p -> !p.toString().replace('\\', 
'/').contains("/components/camel-jackson3"))
                 .collect(Collectors.toCollection(TreeSet::new));
     }
 

Reply via email to