You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dj...@apache.org on 2020/03/13 01:14:13 UTC
[camel] 05/18: use antora xref-checker
This is an automated email from the ASF dual-hosted git repository.
djencks pushed a commit to branch issue-14698-rearrange-adocs
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b142a201360dbf720c8fa456ee139a2812492a00
Author: David Jencks <dj...@apache.org>
AuthorDate: Thu Mar 12 11:23:52 2020 -0700
use antora xref-checker
---
docs/{site.yml => antora-playbook-local-xref-check.yml} | 9 +++++++++
docs/pom.xml | 16 +++++++---------
2 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/docs/site.yml b/docs/antora-playbook-local-xref-check.yml
similarity index 78%
rename from docs/site.yml
rename to docs/antora-playbook-local-xref-check.yml
index 2d3808d..416c5cf 100644
--- a/docs/site.yml
+++ b/docs/antora-playbook-local-xref-check.yml
@@ -25,6 +25,15 @@ content:
start_path: docs/user-manual
- url: ../
branches: HEAD
+ start_path: core/camel-core-engine/src/main/docs
+ - url: ../
+ branches: HEAD
+ start_path: core/camel-core-languages/src/main/docs
+ - url: ../
+ branches: HEAD
+ start_path: core/camel-xml-jaxp/src/main/docs
+ - url: ../
+ branches: HEAD
start_path: docs/components
ui:
diff --git a/docs/pom.xml b/docs/pom.xml
index f80c458..bf94ca1 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -89,18 +89,16 @@
<commandlineArgs>${project.basedir}/node/yarn/dist/bin/yarn.js --non-interactive gulp</commandlineArgs>
</configuration>
</execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-package-maven-plugin</artifactId>
- <executions>
<execution>
- <id>xref-check</id>
+ <id>antora-check-xref</id>
<goals>
- <goal>xref-check</goal>
+ <goal>exec</goal>
</goals>
- <phase>verify</phase>
+ <phase>generate-resources</phase>
+ <configuration>
+ <executable>${project.basedir}/node/node</executable>
+ <commandlineArgs>${project.basedir}/node_modules/@antora/cli/bin/antora --generator @antora/xref-validator antora-playbook-local-xref-check.yml</commandlineArgs>
+ </configuration>
</execution>
</executions>
</plugin>