You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/02/06 13:36:50 UTC

[camel] branch plugin updated: CAMEL-14503: Hack to make cpmp do 3rd party components

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

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


The following commit(s) were added to refs/heads/plugin by this push:
     new 3dc8f25  CAMEL-14503: Hack to make cpmp do 3rd party components
3dc8f25 is described below

commit 3dc8f255bb9488f8d223169f26b026b17b3c28ae
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Feb 6 14:36:27 2020 +0100

    CAMEL-14503: Hack to make cpmp do 3rd party components
---
 .../org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
index b83bd98..e1a2b30 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
@@ -276,12 +276,10 @@ public class EndpointSchemaGeneratorMojo extends AbstractGeneratorMojo {
         doc = JavadocHelper.sanitizeDescription(doc, false);
         option.setDescription(doc);
 
-        /*
-
         if (isNullOrEmpty(doc)) {
             throw new IllegalStateException("Empty doc for option: " + option.getName() + ", parent options: "
                     + (parentOptions != null ? Jsoner.serialize(JsonMapper.asJsonObject(parentOptions)) : "<null>"));
-        }*/
+        }
     }
 
     private boolean filterOutOption(ComponentModel component, BaseOptionModel option) {