From f186008d1fe68a587c9ca643abb2c02829440def Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 1 Aug 2016 13:49:28 -0700 Subject: [PATCH] Fix Groovy version in INSTALL.txt This commit uses maven filtering to set the Groovy version rather than an hard-coded value that can be easily outdated. Closes gh-6530 --- spring-boot-cli/src/main/assembly/bin-package.xml | 14 ++++++++++++++ spring-boot-cli/src/main/content/INSTALL.txt | 6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/spring-boot-cli/src/main/assembly/bin-package.xml b/spring-boot-cli/src/main/assembly/bin-package.xml index 399b11a2b55..ed8622d4219 100644 --- a/spring-boot-cli/src/main/assembly/bin-package.xml +++ b/spring-boot-cli/src/main/assembly/bin-package.xml @@ -14,6 +14,20 @@ true 644 755 + true + + INSTALL.txt + + + + src/main/content + / + true + 644 + 755 + + INSTALL.txt + src/main/executablecontent diff --git a/spring-boot-cli/src/main/content/INSTALL.txt b/spring-boot-cli/src/main/content/INSTALL.txt index f273907c56e..ac01fde8bd8 100644 --- a/spring-boot-cli/src/main/content/INSTALL.txt +++ b/spring-boot-cli/src/main/content/INSTALL.txt @@ -7,9 +7,9 @@ in order to complete your installation. Prerequisites ------------- -Spring Boot CLI requires Java JDK v1.6 or above in order to run. Groovy v2.1 is packaged -as part of this distribution, and therefore does not need to be installed (any existing -Groovy installation is ignored). +Spring Boot CLI requires Java JDK v1.6 or above in order to run. Groovy v${groovy.version} +is packaged as part of this distribution, and therefore does not need to be installed (any +existing Groovy installation is ignored). The CLI will use whatever JDK it finds on your path, to check that you have an appropriate version you should run: