This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit a04bc502d391d58bf46088719e54d618444d87c5 Author: David Jencks <[email protected]> AuthorDate: Thu Oct 29 18:35:24 2020 -0700 Tooling to suppress missing-include errors for camel quarkus bits --- .../main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.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/UpdateReadmeMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java index 77247c7..be0c634 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java @@ -646,7 +646,8 @@ public class UpdateReadmeMojo extends AbstractGeneratorMojo { } } - newLines.add("include::{cq-version}@camel-quarkus:ROOT:partial$reference/" + kind + "s/" + name + ".adoc[]"); + newLines.add( + "include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/" + name + ".adoc[opts=optional]"); if (!manualAttributes.isEmpty()) { newLines.add("//Manually maintained attributes");
