Skip to content

Commit db8a9ec

Browse files
committed
Polish documentation of @GrabMetadata
1 parent 5d25588 commit db8a9ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ metadata can be found in the <<appendix-dependency-versions, appendix>>.
169169
===== Custom ``grab'' metadata
170170
Spring Boot provides a new annotation, `@GrabMetadata` that can be used to provide custom
171171
dependency metadata that overrides Spring Boot's defaults. This metadata is specified by
172-
using the new annotation to provide the coordinates of one or more properties files. For example `
173-
@GrabMetadata(['com.example:versions-one:1.0.0', 'com.example.versions-two:1.0.0'])`. The
174-
properties files are applied in the order that their specified. In the example above, this means
175-
that properties in `versions-two` will override properties in `versions-one`. Each entry in
176-
each properties file must be in the form `group:module=version`. You can use `@GrabVersions`
172+
using the new annotation to provide the coordinates of one or more properties files. For example
173+
`@GrabMetadata(['com.example:versions-one:1.0.0', 'com.example.versions-two:1.0.0'])`. The
174+
properties files are applied in the order that they're specified. In the example above, this
175+
means that properties in `versions-two` will override properties in `versions-one`. Each entry
176+
in each properties file must be in the form `group:module=version`. You can use `@GrabMetadata`
177177
anywhere that you can use `@Grab`, however, to ensure consistent ordering of the metadata, you
178-
can only use `@GrabVersions` at most once in your application.
178+
can only use `@GrabMetadata` at most once in your application.
179179

180180

181181

0 commit comments

Comments
 (0)