From 78bd55e30c199699db5258f8c422b3bee236a125 Mon Sep 17 00:00:00 2001 From: Jan Westerkamp Date: Mon, 3 Oct 2022 14:20:56 +0200 Subject: [PATCH] AsciiDoctor Diagram support added --- README.md | 2 +- pom.xml | 66 +++++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 56 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c85bc88..9aa16f3 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Checkstyle validation. Always on by default, can be disabled with `-DskipChecks` - Automatically generate the Javadocs. Always on by default, can be skipped with `-DskipDocs` -- Automatically generate `pdf` and `html` files from the `src/main/asciidoc` folder. +- Automatically generate `pdf` and `html` files from the `src/main/asciidoc` folder, including AsciiDoctor Diagram support. - Apply the BND configuration if a `bnd.bnd` exists in the root project. diff --git a/pom.xml b/pom.xml index ab3212a..620e29b 100644 --- a/pom.xml +++ b/pom.xml @@ -54,8 +54,14 @@ 3.1.1 0.13 5.2.0 - 2.1.0 - 1.5.3 + + + 2.2.2 + 2.5.6 + 2.2.3 + 2.3.0 + 9.3.8.0 + 1.0 2.5.3 1.6 @@ -407,16 +413,48 @@ org.asciidoctor asciidoctor-maven-plugin - ${version.plugin.asciidoctor} + ${asciidoctor.maven.plugin.version} + + + + org.jruby + jruby + ${jruby.version} + + + org.asciidoctor + asciidoctorj + ${asciidoctorj.version} + + + org.asciidoctor + asciidoctorj-diagram + ${asciidoctorj.diagram.version} + + + + org.asciidoctor + asciidoctorj-pdf + ${asciidoctorj.pdf.version} + + ${project.artifactId}.asciidoc + - coderay ${project.version} ${release.revision} ${release.timestamp} + font + + - + + ./image + + asciidoctor-diagram + @@ -428,6 +466,14 @@ ${project.build.directory}/generated-docs/${project.build.finalName}.pdf pdf + book + + + + + + rouge + @@ -439,16 +485,14 @@ ${project.build.directory}/generated-docs/${project.build.finalName}.html html5 + + + left + true + - - - org.asciidoctor - asciidoctorj-pdf - ${version.plugin.asciidoctor.pdf} - -