Skip to content

Commit 1dcd748

Browse files
committed
Merge pull request #943 from dve
* gh-943: Polish "Omit the version in the Maven Resources plugin example" Omit the version in the Maven Resources plugin example Closes gh-943
2 parents d2461e7 + 7f6a0f6 commit 1dcd748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/docs/asciidoc/getting-started.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ The following listings show how to do so in both Maven and Gradle:
146146
</plugin>
147147
<plugin> <2>
148148
<artifactId>maven-resources-plugin</artifactId>
149-
<version>2.7</version>
150149
<executions>
151150
<execution>
152151
<id>copy-resources</id>
@@ -172,6 +171,7 @@ The following listings show how to do so in both Maven and Gradle:
172171
----
173172
<1> The existing declaration for the Asciidoctor plugin.
174173
<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.
174+
If you are not using Spring Boot and its plugin management, declare the plugin with an appropriate `<version>`.
175175
<3> Copy the generated documentation into the build output's `static/docs` directory, from where it will be included in the jar file.
176176

177177
[source,indent=0,role="secondary"]

0 commit comments

Comments
 (0)