From 4e7b36bfd97c61c4f8ced9ca64fe7bf287f5e6bb Mon Sep 17 00:00:00 2001 From: Daniel Vergien Date: Tue, 1 Oct 2024 16:30:22 +0200 Subject: [PATCH 1/2] Omit the version in the Maven Resources plugin example See gh-943 --- docs/src/docs/asciidoc/getting-started.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index 41f98542..c7b1bf9f 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -146,7 +146,6 @@ The following listings show how to do so in both Maven and Gradle: <2> maven-resources-plugin - 2.7 copy-resources From 7f6a0f6cbc28b3a4ce0285fdf43d641f055633fa Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 1 Oct 2024 16:12:23 +0100 Subject: [PATCH 2/2] Polish "Omit the version in the Maven Resources plugin example" See gh-943 --- docs/src/docs/asciidoc/getting-started.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index c7b1bf9f..81e24381 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -171,6 +171,7 @@ The following listings show how to do so in both Maven and Gradle: ---- <1> The existing declaration for the Asciidoctor plugin. <2> The resource plugin must be declared after the Asciidoctor plugin as they are bound to the same phase (`prepare-package`) and the resource plugin must run after the Asciidoctor plugin to ensure that the documentation is generated before it's copied. +If you are not using Spring Boot and its plugin management, declare the plugin with an appropriate ``. <3> Copy the generated documentation into the build output's `static/docs` directory, from where it will be included in the jar file. [source,indent=0,role="secondary"]