Skip to content

Commit

Permalink
Speeds up things for antora
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Sep 11, 2023
1 parent 43318b0 commit 7fdd07f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<maven-deploy-plugin-default.phase>none</maven-deploy-plugin-default.phase>
<!-- Aligned with Groovy in SC-Build -->
<groovy.version>4.0.6</groovy.version>
<generate-adoc-resource.phase>process-classes</generate-adoc-resource.phase>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -124,7 +125,7 @@
<executions>
<execution>
<id>generate-docker-env-vars</id>
<phase>generate-resources</phase>
<phase>${generate-cloud-resources.phase}</phase>
<goals>
<goal>exec</goal>
</goals>
Expand All @@ -138,7 +139,7 @@
</execution>
<execution>
<id>generate-adoc-resources</id>
<phase>process-classes</phase>
<phase>${generate-adoc-resource.phase}</phase>
<goals>
<goal>java</goal>
</goals>
Expand Down Expand Up @@ -169,5 +170,17 @@
</plugins>
</build>
</profile>
<profile>
<id>antora-process</id>
<activation>
<property>
<name>antora-maven-plugin.phase</name>
<value>none</value>
</property>
</activation>
<properties>
<generate-adoc-resource.phase>none</generate-adoc-resource.phase>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 7fdd07f

Please sign in to comment.