Speeds up things for antora

This commit is contained in:
Marcin Grzejszczak
2023-09-11 22:26:59 +02:00
parent 43318b0b05
commit 7fdd07f2fa

View File

@@ -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>
@@ -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>
@@ -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>
@@ -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>