From f09c9748088f4d5b2bef18a66533dd408c2d0a59 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Fri, 24 May 2024 11:18:01 -0500 Subject: [PATCH] Use official Antora Maven Plugin - Use the latest Antora Maven Plugin - Switch to package.json (this allows dependabot to update the versions) - Also works around https://github.com/asciidoctor/asciidoctor.js/issues/1732 by by forcing the asciidoctor.js version to previous release --- .gitignore | 1 - package.json | 12 ++++++++++++ pom.xml | 14 ++++---------- 3 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 package.json diff --git a/.gitignore b/.gitignore index abc7d179ed..ca00b2ecfd 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,3 @@ src/ant/.ant-targets-upload-dist.xml node_modules node/ package-lock.json -package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000000..7d6b3a73c2 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "//": "Until it is fixed, force asciidoctor/core version https://github.com/asciidoctor/asciidoctor.js/issues/1732", + "dependencies": { + "antora": "3.2.0-alpha.4", + "@asciidoctor/core": "2.2.6", + "@antora/atlas-extension": "1.0.0-alpha.2", + "@antora/collector-extension": "1.0.0-alpha.3", + "@asciidoctor/tabs": "1.0.0-beta.6", + "@springio/antora-extensions": "1.11.1", + "@springio/asciidoctor-extensions": "1.0.0-alpha.10" + } +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 661d3300bb..a8dcaf74eb 100644 --- a/pom.xml +++ b/pom.xml @@ -22,15 +22,16 @@ - 0.0.4 + 1.0.0-alpha.4 + - io.spring.maven.antora + org.antora antora-maven-plugin - ${io.spring.maven.antora-version} + ${maven.antora-version} true @@ -38,13 +39,6 @@ - - @antora/atlas-extension@1.0.0-alpha.1 - @antora/collector-extension@1.0.0-alpha.3 - @asciidoctor/tabs@1.0.0-beta.3 - @springio/antora-extensions@1.11.1 - @springio/asciidoctor-extensions@1.0.0-alpha.9 -