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 a1ebb2df4ca3 chore: camel-package-maven-plugin - filter the jackson3 
data formats from the catalog also on Windows (#27312)
a1ebb2df4ca3 is described below

commit a1ebb2df4ca3bc9f930b17eca402e409f3cc599c
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Oct 3 08:46:22 2026 +0200

    chore: camel-package-maven-plugin - filter the jackson3 data formats from 
the catalog also on Windows (#27312)
    
    Signed-off-by: Claus Ibsen <[email protected]>
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
---
 .../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 6189bb1ef395..2fcac3ef4933 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
@@ -1687,7 +1687,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