From e8d322d2f7dad1468a169db86a0b3c52305cc108 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Thu, 4 May 2023 17:33:10 -0500 Subject: [PATCH] Add /release to `maven.remoteRepositories` (#5335) --- .../src/main/asciidoc/appendix-howto.adoc | 2 +- .../src/main/resources/dataflow-server.yml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/spring-cloud-dataflow-docs/src/main/asciidoc/appendix-howto.adoc b/spring-cloud-dataflow-docs/src/main/asciidoc/appendix-howto.adoc index fa86e90a5c..913ecf663b 100644 --- a/spring-cloud-dataflow-docs/src/main/asciidoc/appendix-howto.adoc +++ b/spring-cloud-dataflow-docs/src/main/asciidoc/appendix-howto.adoc @@ -15,7 +15,7 @@ You can set the Maven properties, such as the local Maven repository location, r Alternatively, you can set the properties by setting the `SPRING_APPLICATION_JSON` environment property for the Data Flow server. The remote Maven repositories need to be configured explicitly if the applications are resolved by using the Maven repository. -The one exception to this rule is for the `local` Data Flow server installation, which already has the `https://repo.maven.apache.org/maven2` and `https://repo.spring.io/snapshot` remote repositories pre-configured. +The one exception to this rule is for the `local` Data Flow server installation, which already has Maven Central and the Spring Artifactory remote repositories pre-configured. The other (`non-local`) server installations have no default value for remote repositories. NOTE: If you configure your own remote repositories, be sure to add Maven central (`https://repo.maven.apache.org/maven2`) as it is not automatically added for you. diff --git a/spring-cloud-starter-dataflow-server/src/main/resources/dataflow-server.yml b/spring-cloud-starter-dataflow-server/src/main/resources/dataflow-server.yml index a06de15c80..cce734833d 100644 --- a/spring-cloud-starter-dataflow-server/src/main/resources/dataflow-server.yml +++ b/spring-cloud-starter-dataflow-server/src/main/resources/dataflow-server.yml @@ -10,8 +10,12 @@ maven: remoteRepositories: mavenCentral: url: https://repo.maven.apache.org/maven2 - springRepo: + springSnapshot: url: https://repo.spring.io/snapshot + springMilestone: + url: https://repo.spring.io/milestone + springRelease: + url: https://repo.spring.io/release spring: application: