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

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

commit f933d9f7c10fa8634b07b0b4437de1dcf5efbb68
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed May 14 20:53:04 2025 +0200

    CAMEL-22064: camel-xml-io - Generate XSD schema
---
 .../src/main/java/org/apache/camel/maven/DocumentationEnricher.java  | 5 ++++-
 .../java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java   | 2 --
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
 
b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
index 57a5310c293..8aaa598c7cc 100644
--- 
a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
+++ 
b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
@@ -116,7 +116,10 @@ public class DocumentationEnricher {
         } else {
             // we should skip warning about these if no documentation as they 
are special
             boolean skip = "customId".equals(name) || 
"inheritErrorHandler".equals(name)
-                    || "rest".equals(name) && 
jsonFile.getName().endsWith("route.json");
+                    || ("rest".equals(name) && 
jsonFile.getName().endsWith("route.json"))
+                    || ("template".equals(name) && 
jsonFile.getName().endsWith("route.json"))
+                    || ("kamelet".equals(name) && 
jsonFile.getName().endsWith("route.json"))
+                    || ("routeProperty".equals(name) && 
jsonFile.getName().endsWith("route.json"));
             if (!skip) {
                 log.warn("Cannot find documentation for name: " + name + " in 
json schema: " + jsonFile);
             }
diff --git 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
index 7b5f234a43d..4eacf4e191c 100644
--- 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
+++ 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
@@ -1142,8 +1142,6 @@ public class SchemaGeneratorMojo extends 
AbstractGeneratorMojo {
             eipOptions.add(ep);
         }
 
-        System.out.println("Field: " + fieldName + " on " + originalClassType);
-
         if ("params".equals(fieldName) || "responseMsgs".equals(fieldName) || 
"security".equals(fieldName)) {
             String name;
             String docComment;

Reply via email to