This is an automated email from the ASF dual-hosted git repository. djencks pushed a commit to branch camel-spring-boot-3.7.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit b16209096c5d0d28e7272c337046ee986233e179 Author: David Jencks <[email protected]> AuthorDate: Wed Oct 6 17:49:50 2021 -0700 fix error in MvelHelper --- .../main/java/org/apache/camel/springboot/maven/ExtMvelHelper.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/ExtMvelHelper.java b/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/ExtMvelHelper.java index 1c0dd5c..faed6ec 100644 --- a/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/ExtMvelHelper.java +++ b/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/ExtMvelHelper.java @@ -58,8 +58,9 @@ public class ExtMvelHelper { public String getDocLink(ArtifactModel<?> model) { if (isLocalComponent(model)) { - throw new RuntimeException("unexpected local model " + ((ArtifactModel<?>) model).getName()); -// return String.format("xref:%s.adoc", ((ArtifactModel<?>) model).getName()); +// throw new RuntimeException("unexpected local model " + ((ArtifactModel<?>) model).getName()); + //there is at least one local component + return String.format("xref:%s.adoc", ((ArtifactModel<?>) model).getName()); } else if (model instanceof ComponentModel) { return String.format("xref:%s@components::%s-component.adoc", CAMEL_VERSION, ((ComponentModel) model).getScheme()); } else if (model instanceof DataFormatModel) {
