85 lines
3.0 KiB
XML
85 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.kapdion.pisano</groupId>
|
|
<artifactId>productknowledge-parent</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>docs</artifactId>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.asciidoctor</groupId>-->
|
|
<!-- <artifactId>asciidoctor-maven-plugin</artifactId>-->
|
|
<!-- <!– Keine Version nötig, kommt vom Parent –>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>generate-docs</id>-->
|
|
<!-- <phase>prepare-package</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>process-asciidoc</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <attributes>-->
|
|
<!-- <project-root>${project.basedir}/..</project-root>-->
|
|
<!-- <project-name>${project.parent.name}</project-name>-->
|
|
<!-- <project-version>${project.version}</project-version>-->
|
|
<!-- <project-root>${project.basedir}/..</project-root>-->
|
|
<!-- <revnumber>${project.version}</revnumber>-->
|
|
<!-- <revdate>${maven.build.timestamp}</revdate>-->
|
|
<!-- <source-highlighter>coderay</source-highlighter>-->
|
|
<!-- </attributes>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.15.0</version>
|
|
<executions>
|
|
<!-- 1. Node.js und npm lokal im docs-Verzeichnis installieren -->
|
|
<execution>
|
|
<id>install-node-and-npm</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>v20.10.0</nodeVersion>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- 2. Antora lokal installieren -->
|
|
<execution>
|
|
<id>npm-install-antora</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>install @antora/cli@3.1 @antora/site-generator@3.1</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- 3. Antora ausführen, um die Seite zu bauen -->
|
|
<execution>
|
|
<id>run-antora</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>npx</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>antora antora-playbook.yml</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project> |