From db8a9ec597c34c8bc320832410b9f05f1053954b Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 9 Jun 2014 16:40:49 +0100 Subject: [PATCH] Polish documentation of @GrabMetadata --- .../src/main/asciidoc/spring-boot-cli.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc index 530736dc25..31b1b44166 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc @@ -169,13 +169,13 @@ metadata can be found in the <>. ===== Custom ``grab'' metadata Spring Boot provides a new annotation, `@GrabMetadata` that can be used to provide custom dependency metadata that overrides Spring Boot's defaults. This metadata is specified by -using the new annotation to provide the coordinates of one or more properties files. For example ` -@GrabMetadata(['com.example:versions-one:1.0.0', 'com.example.versions-two:1.0.0'])`. The -properties files are applied in the order that their specified. In the example above, this means -that properties in `versions-two` will override properties in `versions-one`. Each entry in -each properties file must be in the form `group:module=version`. You can use `@GrabVersions` +using the new annotation to provide the coordinates of one or more properties files. For example +`@GrabMetadata(['com.example:versions-one:1.0.0', 'com.example.versions-two:1.0.0'])`. The +properties files are applied in the order that they're specified. In the example above, this +means that properties in `versions-two` will override properties in `versions-one`. Each entry +in each properties file must be in the form `group:module=version`. You can use `@GrabMetadata` anywhere that you can use `@Grab`, however, to ensure consistent ordering of the metadata, you -can only use `@GrabVersions` at most once in your application. +can only use `@GrabMetadata` at most once in your application.