Skip to content

Commit

Permalink
Merge pull request #943 from dve
Browse files Browse the repository at this point in the history
* gh-943:
  Polish "Omit the version in the Maven Resources plugin example"
  Omit the version in the Maven Resources plugin example

Closes gh-943
  • Loading branch information
wilkinsona committed Oct 1, 2024
2 parents d2461e7 + 7f6a0f6 commit 1dcd748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/asciidoc/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ The following listings show how to do so in both Maven and Gradle:
</plugin>
<plugin> <2>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-resources</id>
Expand All @@ -172,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 `<version>`.
<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"]
Expand Down

0 comments on commit 1dcd748

Please sign in to comment.