Browse Source

Speeds up antora build

pull/1241/head
Marcin Grzejszczak 1 year ago
parent
commit
cc4a47f278
  1. 2
      docs/antora.yml
  2. 4
      docs/pom.xml

2
docs/antora.yml

@ -6,7 +6,7 @@ nav:
ext: ext:
collector: collector:
run: run:
command: ./mvnw --no-transfer-progress -B validate process-resources -Pdocs -pl docs -DskipTests command: ./mvnw --no-transfer-progress -B process-resources -Pdocs -pl docs -Dantora-maven-plugin.phase=none -Dgenerate-docs.phase=none -Dgenerate-readme.phase=none -Dgenerate-cloud-resources.phase=none -Dmaven-dependency-plugin-for-docs.phase=none -Dmaven-dependency-plugin-for-docs-classes.phase=none -DskipTests
local: true local: true
scan: scan:
dir: ./target/classes/antora-resources/ dir: ./target/classes/antora-resources/

4
docs/pom.xml

@ -63,8 +63,8 @@
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>generate-docs</id> <id>generate-observability-docs</id>
<phase>generate-resources</phase> <phase>${generate-docs.phase}</phase>
<goals> <goals>
<goal>java</goal> <goal>java</goal>
</goals> </goals>

Loading…
Cancel
Save