Polish "Use secure connection to repositories"

Closes gh-12629
This commit is contained in:
Stephane Nicoll 2018-03-27 18:02:52 +02:00
parent 7a5ae32c46
commit ade6d86b65
18 changed files with 91 additions and 91 deletions

View File

@ -7,7 +7,7 @@
<repositories> <repositories>
<repository> <repository>
<id>spring-ext</id> <id>spring-ext</id>
<url>http://repo.spring.io/ext-release-local/</url> <url>https://repo.spring.io/ext-release-local/</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
</releases> </releases>
@ -18,7 +18,7 @@
<repository> <repository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -26,7 +26,7 @@
<repository> <repository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<name>Spring Snapshots</name> <name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots> <snapshots>
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
@ -46,7 +46,7 @@
<pluginRepository> <pluginRepository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -54,7 +54,7 @@
<pluginRepository> <pluginRepository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<name>Spring Snapshots</name> <name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots> <snapshots>
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
@ -66,7 +66,7 @@
<repositories> <repositories>
<repository> <repository>
<id>spring-ext</id> <id>spring-ext</id>
<url>http://repo.spring.io/ext-release-local/</url> <url>https://repo.spring.io/ext-release-local/</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
</releases> </releases>
@ -87,7 +87,7 @@
<repository> <repository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -97,7 +97,7 @@
<pluginRepository> <pluginRepository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -109,7 +109,7 @@
<repositories> <repositories>
<repository> <repository>
<id>spring-ext</id> <id>spring-ext</id>
<url>http://repo.spring.io/ext-release-local/</url> <url>https://repo.spring.io/ext-release-local/</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
</releases> </releases>

View File

@ -91,7 +91,7 @@ requests. If you want to raise an issue, please follow the recommendations below
== Building from Source == Building from Source
You don't need to build from source to use Spring Boot (binaries in You don't need to build from source to use Spring Boot (binaries in
http://repo.spring.io[repo.spring.io]), but if you want to try out the latest and https://repo.spring.io[repo.spring.io]), but if you want to try out the latest and
greatest, Spring Boot can be easily built with the greatest, Spring Boot can be easily built with the
https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8 (although https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8 (although
Boot applications can run on Java 1.6). Boot applications can run on Java 1.6).

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2018 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -45,10 +45,10 @@ public final class RepositoryConfigurationFactory {
"central", URI.create("https://repo.maven.apache.org/maven2/"), false); "central", URI.create("https://repo.maven.apache.org/maven2/"), false);
private static final RepositoryConfiguration SPRING_MILESTONE = new RepositoryConfiguration( private static final RepositoryConfiguration SPRING_MILESTONE = new RepositoryConfiguration(
"spring-milestone", URI.create("http://repo.spring.io/milestone"), false); "spring-milestone", URI.create("https://repo.spring.io/milestone"), false);
private static final RepositoryConfiguration SPRING_SNAPSHOT = new RepositoryConfiguration( private static final RepositoryConfiguration SPRING_SNAPSHOT = new RepositoryConfiguration(
"spring-snapshot", URI.create("http://repo.spring.io/snapshot"), true); "spring-snapshot", URI.create("https://repo.spring.io/snapshot"), true);
private RepositoryConfigurationFactory() { private RepositoryConfigurationFactory() {
} }

View File

@ -3043,7 +3043,7 @@
<repository> <repository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -3051,7 +3051,7 @@
<repository> <repository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<name>Spring Snapshots</name> <name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots> <snapshots>
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>

View File

@ -85,11 +85,11 @@ If you are using a milestone or snapshot release you will also need to add appro
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
</pluginRepository> </pluginRepository>
<pluginRepository> <pluginRepository>
<id>spring-milestones</id> <id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
---- ----
@ -189,8 +189,8 @@ the `spring-boot` plugin:
---- ----
buildscript { buildscript {
repositories { repositories {
maven { url 'http://repo.spring.io/snapshot' } maven { url 'https://repo.spring.io/snapshot' }
maven { url 'http://repo.spring.io/milestone' } maven { url 'https://repo.spring.io/milestone' }
} }
dependencies { dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}'' classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}''
@ -271,7 +271,7 @@ you need to mark the embedded container dependencies as belonging to the war plu
repositories { repositories {
jcenter() jcenter()
maven { url "http://repo.spring.io/libs-snapshot" } maven { url "https://repo.spring.io/libs-snapshot" }
} }
dependencies { dependencies {

View File

@ -202,8 +202,8 @@ This should be everything you need. The most common workflow for Heroku deployme
-----> Executing: mvn -B -DskipTests=true clean install -----> Executing: mvn -B -DskipTests=true clean install
[INFO] Scanning for projects... [INFO] Scanning for projects...
Downloading: http://repo.spring.io/... Downloading: https://repo.spring.io/...
Downloaded: http://repo.spring.io/... (818 B at 1.8 KB/sec) Downloaded: https://repo.spring.io/... (818 B at 1.8 KB/sec)
.... ....
Downloaded: http://s3pository.heroku.com/jvm/... (152 KB at 595.3 KB/sec) Downloaded: http://s3pository.heroku.com/jvm/... (152 KB at 595.3 KB/sec)
[INFO] Installing /tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229/target/... [INFO] Installing /tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229/target/...

View File

@ -172,22 +172,22 @@ ifeval::["{spring-boot-repo}" != "release"]
<repositories> <repositories>
<repository> <repository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots><enabled>true</enabled></snapshots> <snapshots><enabled>true</enabled></snapshots>
</repository> </repository>
<repository> <repository>
<id>spring-milestones</id> <id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
</repository> </repository>
</repositories> </repositories>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
</pluginRepository> </pluginRepository>
<pluginRepository> <pluginRepository>
<id>spring-milestones</id> <id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
endif::[] endif::[]
@ -234,8 +234,8 @@ ifeval::["{spring-boot-repo}" != "release"]
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
maven { url 'http://repo.spring.io/snapshot' } maven { url 'https://repo.spring.io/snapshot' }
maven { url 'http://repo.spring.io/milestone' } maven { url 'https://repo.spring.io/milestone' }
} }
dependencies { dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}' classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}'
@ -254,8 +254,8 @@ endif::[]
repositories { repositories {
jcenter() jcenter()
ifeval::["{spring-boot-repo}" != "release"] ifeval::["{spring-boot-repo}" != "release"]
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
endif::[] endif::[]
} }
@ -282,10 +282,10 @@ way to get a Spring application off the ground.
==== Manual installation ==== Manual installation
You can download the Spring CLI distribution from the Spring software repository: You can download the Spring CLI distribution from the Spring software repository:
* http://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.zip[spring-boot-cli-{spring-boot-version}-bin.zip] * https://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.zip[spring-boot-cli-{spring-boot-version}-bin.zip]
* http://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.tar.gz[spring-boot-cli-{spring-boot-version}-bin.tar.gz] * https://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.tar.gz[spring-boot-cli-{spring-boot-version}-bin.tar.gz]
Cutting edge http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions] Cutting edge https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions]
are also available. are also available.
Once downloaded, follow the {github-raw}/spring-boot-cli/src/main/content/INSTALL.txt[INSTALL.txt] Once downloaded, follow the {github-raw}/spring-boot-cli/src/main/content/INSTALL.txt[INSTALL.txt]
@ -519,22 +519,22 @@ ifeval::["{spring-boot-repo}" != "release"]
<repositories> <repositories>
<repository> <repository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots><enabled>true</enabled></snapshots> <snapshots><enabled>true</enabled></snapshots>
</repository> </repository>
<repository> <repository>
<id>spring-milestones</id> <id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
</repository> </repository>
</repositories> </repositories>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
</pluginRepository> </pluginRepository>
<pluginRepository> <pluginRepository>
<id>spring-milestones</id> <id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
endif::[] endif::[]

View File

@ -216,8 +216,8 @@ Maven, there is no "`super parent`" to import to share some configuration.
---- ----
repositories { repositories {
ifeval::["{spring-boot-repo}" != "release"] ifeval::["{spring-boot-repo}" != "release"]
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
endif::[] endif::[]
ifeval::["{spring-boot-repo}" == "release"] ifeval::["{spring-boot-repo}" == "release"]
jcenter() jcenter()
@ -248,8 +248,8 @@ ifeval::["{spring-boot-repo}" != "release"]
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
maven { url 'http://repo.spring.io/snapshot' } maven { url 'https://repo.spring.io/snapshot' }
maven { url 'http://repo.spring.io/milestone' } maven { url 'https://repo.spring.io/milestone' }
} }
dependencies { dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}' classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}'
@ -263,8 +263,8 @@ endif::[]
repositories { repositories {
jcenter() jcenter()
ifeval::["{spring-boot-repo}" != "release"] ifeval::["{spring-boot-repo}" != "release"]
maven { url 'http://repo.spring.io/snapshot' } maven { url 'https://repo.spring.io/snapshot' }
maven { url 'http://repo.spring.io/milestone' } maven { url 'https://repo.spring.io/milestone' }
endif::[] endif::[]
} }

View File

@ -238,7 +238,7 @@
<repository> <repository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<name>Spring Snapshots</name> <name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots> <snapshots>
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
@ -246,7 +246,7 @@
<repository> <repository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -256,7 +256,7 @@
<pluginRepository> <pluginRepository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<name>Spring Snapshots</name> <name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
<snapshots> <snapshots>
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
@ -264,7 +264,7 @@
<pluginRepository> <pluginRepository>
<id>spring-milestones</id> <id>spring-milestones</id>
<name>Spring Milestones</name> <name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url> <url>https://repo.spring.io/milestone</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -272,7 +272,7 @@
<pluginRepository> <pluginRepository>
<id>spring-releases</id> <id>spring-releases</id>
<name>Spring Releases</name> <name>Spring Releases</name>
<url>http://repo.spring.io/release</url> <url>https://repo.spring.io/release</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>

View File

@ -6,9 +6,9 @@ buildscript {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@ -31,9 +31,9 @@ repositories {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {

View File

@ -8,9 +8,9 @@
<ivy pattern="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].pom" /> <ivy pattern="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].pom" />
</filesystem> </filesystem>
<ibiblio name="ibiblio" m2compatible="true" /> <ibiblio name="ibiblio" m2compatible="true" />
<ibiblio name="spring-milestones" m2compatible="true" root="http://repo.spring.io/release" /> <ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/release" />
<ibiblio name="spring-milestones" m2compatible="true" root="http://repo.spring.io/milestone" /> <ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
<ibiblio name="spring-snapshots" m2compatible="true" root="http://repo.spring.io/snapshot" /> <ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
</chain> </chain>
</resolvers> </resolvers>
</ivysettings> </ivysettings>

View File

@ -6,9 +6,9 @@ buildscript {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@ -33,9 +33,9 @@ repositories {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {

View File

@ -6,9 +6,9 @@ buildscript {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@ -41,9 +41,9 @@ repositories {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {

View File

@ -6,9 +6,9 @@ buildscript {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@ -33,9 +33,9 @@ repositories {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {

View File

@ -6,9 +6,9 @@ buildscript {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@ -31,9 +31,9 @@ repositories {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
configurations { configurations {

View File

@ -7,9 +7,9 @@ buildscript {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@ -36,9 +36,9 @@ repositories {
// NOTE: You should declare only repositories that you need here // NOTE: You should declare only repositories that you need here
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/release" } maven { url "https://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
} }
dependencies { dependencies {

View File

@ -37,7 +37,7 @@
<repositories> <repositories>
<repository> <repository>
<id>repo.spring.io</id> <id>repo.spring.io</id>
<url>http://repo.spring.io/libs-release</url> <url>https://repo.spring.io/libs-release</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
</releases> </releases>

View File

@ -8,9 +8,9 @@
<ivy pattern="${user.home}/.m2/[organisation]/[module]/[revision]/[module]-[revision].pom" /> <ivy pattern="${user.home}/.m2/[organisation]/[module]/[revision]/[module]-[revision].pom" />
</filesystem> </filesystem>
<ibiblio name="ibiblio" m2compatible="true" /> <ibiblio name="ibiblio" m2compatible="true" />
<ibiblio name="spring-milestones" m2compatible="true" root="http://repo.spring.io/release" /> <ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/release" />
<ibiblio name="spring-milestones" m2compatible="true" root="http://repo.spring.io/milestone" /> <ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
<ibiblio name="spring-snapshots" m2compatible="true" root="http://repo.spring.io/snapshot" /> <ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
</chain> </chain>
</resolvers> </resolvers>
</ivysettings> </ivysettings>