From 838e7eb60573cf4e4f21bb067f0b821ebf9da258 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 20 Sep 2019 21:38:56 -0700 Subject: [PATCH] Extract spring-doc-resources URL property Update the build to use a shared spring-doc-resources URL rather than repeating it multiple times. See gh-18293 --- spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml | 2 +- spring-boot-project/spring-boot-docs/pom.xml | 2 +- spring-boot-project/spring-boot-parent/pom.xml | 1 + .../spring-boot-tools/spring-boot-gradle-plugin/pom.xml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml index 2aff5c1ab88..7d7eb52a9a4 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml @@ -648,7 +648,7 @@ wget - https://repo.spring.io/snapshot/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip + ${spring-doc-resources.url} true ${refdocs.build.directory} diff --git a/spring-boot-project/spring-boot-docs/pom.xml b/spring-boot-project/spring-boot-docs/pom.xml index b380cfe0a69..bfb84777e16 100644 --- a/spring-boot-project/spring-boot-docs/pom.xml +++ b/spring-boot-project/spring-boot-docs/pom.xml @@ -1193,7 +1193,7 @@ wget - https://repo.spring.io/snapshot/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip + ${spring-doc-resources.url} true ${refdocs.build.directory} diff --git a/spring-boot-project/spring-boot-parent/pom.xml b/spring-boot-project/spring-boot-parent/pom.xml index 0dfcd27ae58..b6b392f8853 100644 --- a/spring-boot-project/spring-boot-parent/pom.xml +++ b/spring-boot-project/spring-boot-parent/pom.xml @@ -29,6 +29,7 @@ 1.12.0 6.14.3 0.1.3.BUILD-SNAPSHOT + https://repo.spring.io/snapshot/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip https://github.com/spring-projects/spring-boot diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/pom.xml b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/pom.xml index 80c84688093..e61b2adbc2b 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/pom.xml +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/pom.xml @@ -50,7 +50,7 @@ wget - https://repo.spring.io/release/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip + ${spring-doc-resources.url} true ${refdocs.build.directory}/asciidoc