You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/10/30 13:34:58 UTC
[camel] 02/04: Tooling to suppress missing-include errors for camel
quarkus bits
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch camel-3.6.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7039ec8de1cb9a4295048b4a142ef93337b02f9d
Author: David Jencks <dj...@apache.org>
AuthorDate: Thu Oct 29 18:35:24 2020 -0700
Tooling to suppress missing-include errors for camel quarkus bits
(cherry picked from commit a04bc502d391d58bf46088719e54d618444d87c5)
---
.../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 082425a..8e3b08c 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
@@ -626,7 +626,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");