From 178790583dd2e644996c275e39caf49fa926b476 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 21 Aug 2023 11:04:24 +0200 Subject: [PATCH] Introduce common configuration for Antora-based documentation sites. The antora profile allows running a local documentation build of a modules' antora site. The antora-process-resources build pre-processes antora docs resources for e.g. exposing maven properties. Closes: #2087 --- parent/pom.xml | 132 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) diff --git a/parent/pom.xml b/parent/pom.xml index 4cb9d2e4..6de732ad 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -130,6 +130,8 @@ 1.9.0 2.0.2 6.1.0-M4 + src/main/antora/antora-playbook.yml + 0.0.3 0.0.7 2.2.0-M1 3.0.0 @@ -259,6 +261,118 @@ + + antora-process-resources + + + + io.spring.maven.antora + antora-component-version-maven-plugin + + + + antora-component-version + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + export-properties + generate-resources + + + + ${spring} + + + + + + ${springdata.commons} + + + + + + ${springdata.commons} + + + + + + true + + + run + + + + + + + + + + + antora + + + true + true + true + true + true + + + + + + + org.jetbrains.kotlin + kotlin-maven-plugin + false + + true + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + + + + + io.spring.maven.antora + antora-maven-plugin + true + + ${antora.playbook} + + + + + antora + + compile + + + + + + + +