This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7657f6dabbac7efa1c4f1e878bdf93714540f4d6 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Jun 20 15:05:42 2019 +0200 CAMEL-13663: camel-main-maven-plugin to generte spring-boot tooling metadata to fool Java editors to have code completions for Camel Main application.properties files. --- .../src/main/java/org/apache/camel/maven/AutowireMojo.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AutowireMojo.java b/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AutowireMojo.java index 63f0c61..947c5a7 100644 --- a/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AutowireMojo.java +++ b/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AutowireMojo.java @@ -31,6 +31,7 @@ import java.util.stream.Collectors; import org.apache.camel.catalog.CamelCatalog; import org.apache.camel.catalog.JSonSchemaHelper; +import org.apache.camel.support.IntrospectionSupport; import org.apache.camel.support.PatternHelper; import org.apache.camel.util.IOHelper; import org.apache.camel.util.OrderedProperties; @@ -202,6 +203,11 @@ public class AutowireMojo extends AbstractMainMojo { String line = "camel.component." + componentName + "." + name + "=#class:" + best.getName(); getLog().debug(line); autowires.add(line); + + // TODO: get options from best class (getter/setter pairs) + // we dont have documentation + // add as spring boot options + } }