Install nodejs independently of antora
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
<properties>
|
||||
<maven-exec-plugin.version>3.4.1</maven-exec-plugin.version>
|
||||
<maven-frontend-plugin.version>1.15.1</maven-frontend-plugin.version>
|
||||
<maven-gem-plugin.version>3.0.3</maven-gem-plugin.version>
|
||||
<configprops.path>${project.basedir}/src/main/antora/modules/ROOT/partials/_configprops.adoc</configprops.path>
|
||||
<configprops.inclusionPattern>spring.grpc.*</configprops.inclusionPattern>
|
||||
@@ -47,6 +48,25 @@
|
||||
</extension>
|
||||
</extensions>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.eirslett</groupId>
|
||||
<artifactId>frontend-maven-plugin</artifactId>
|
||||
<version>${maven-frontend-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install node and npm</id>
|
||||
<goals>
|
||||
<goal>install-node-and-npm</goal>
|
||||
<goal>npm</goal>
|
||||
</goals>
|
||||
<phase>generate-resources</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- Has to be the same as the antora lifecycle-->
|
||||
<nodeVersion>v18.17.1</nodeVersion>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.spring.maven.antora</groupId>
|
||||
<artifactId>antora-maven-plugin</artifactId>
|
||||
@@ -184,7 +204,8 @@
|
||||
</goals>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<execArgs>${project.build.directory}/gems/bin/asciidoctor-reducer -o
|
||||
<execArgs>
|
||||
${project.build.directory}/gems/bin/asciidoctor-reducer -o
|
||||
${project.build.directory}/CONTRIBUTING.adoc
|
||||
${basedir}/src/main/antora/modules/ROOT/pages/contribution-guidelines.adoc</execArgs>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user