update sample config in camel-archetype-api-component
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/25cce84a Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/25cce84a Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/25cce84a Branch: refs/heads/master Commit: 25cce84a77111733773ce95ae4bcd2a42d4f10b9 Parents: 8cad23c Author: Jonathan Anstey <jans...@gmail.com> Authored: Thu Aug 25 12:31:35 2016 -0230 Committer: Jonathan Anstey <jans...@gmail.com> Committed: Thu Aug 25 12:31:35 2016 -0230 ---------------------------------------------------------------------- .../archetype-resources/__artifactId__-component/pom.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/25cce84a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml ---------------------------------------------------------------------- diff --git a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml index 555bcb6..feedd0e 100644 --- a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml +++ b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml @@ -201,6 +201,11 @@ </alias> </aliases> --> + <!-- for some methods, null can be a valid input + <nullableOptions> + <nullableOption>option-name</nullableOption> + </nullableOptions> + --> </api> <api> <apiName>hello-javadoc</apiName> @@ -209,6 +214,7 @@ <!-- Use exclude patterns to limit what gets exposed in component endpoint <excludePackages>package-name-patterns</excludePackages> <excludeClasses>class-name-patterns</excludeClasses> + <includeMethods>method-name-patterns</includeMethods> <excludeMethods>method-name-patterns</excludeMethods> <includeStaticMethods>use 'true' to include static methods, false by default<includeStaticMethods> --> @@ -219,9 +225,10 @@ <substitutions/> <excludeConfigNames/> <excludeConfigTypes/> - <extraOptions> + <extraOptions/> <fromJavadoc/> <aliases/> + <nullableOptions/> --> </configuration> </execution>