Skip to content

Commit ade6d86

Browse files
committed
Polish "Use secure connection to repositories"
Closes spring-projectsgh-12629
1 parent 7a5ae32 commit ade6d86

File tree

18 files changed

+91
-91
lines changed

18 files changed

+91
-91
lines changed

.settings-template.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<repositories>
88
<repository>
99
<id>spring-ext</id>
10-
<url>http://repo.spring.io/ext-release-local/</url>
10+
<url>https://repo.spring.io/ext-release-local/</url>
1111
<releases>
1212
<enabled>true</enabled>
1313
</releases>
@@ -18,15 +18,15 @@
1818
<repository>
1919
<id>spring-milestones</id>
2020
<name>Spring Milestones</name>
21-
<url>http://repo.spring.io/milestone</url>
21+
<url>https://repo.spring.io/milestone</url>
2222
<snapshots>
2323
<enabled>false</enabled>
2424
</snapshots>
2525
</repository>
2626
<repository>
2727
<id>spring-snapshots</id>
2828
<name>Spring Snapshots</name>
29-
<url>http://repo.spring.io/snapshot</url>
29+
<url>https://repo.spring.io/snapshot</url>
3030
<snapshots>
3131
<enabled>true</enabled>
3232
</snapshots>
@@ -46,15 +46,15 @@
4646
<pluginRepository>
4747
<id>spring-milestones</id>
4848
<name>Spring Milestones</name>
49-
<url>http://repo.spring.io/milestone</url>
49+
<url>https://repo.spring.io/milestone</url>
5050
<snapshots>
5151
<enabled>false</enabled>
5252
</snapshots>
5353
</pluginRepository>
5454
<pluginRepository>
5555
<id>spring-snapshots</id>
5656
<name>Spring Snapshots</name>
57-
<url>http://repo.spring.io/snapshot</url>
57+
<url>https://repo.spring.io/snapshot</url>
5858
<snapshots>
5959
<enabled>true</enabled>
6060
</snapshots>
@@ -66,7 +66,7 @@
6666
<repositories>
6767
<repository>
6868
<id>spring-ext</id>
69-
<url>http://repo.spring.io/ext-release-local/</url>
69+
<url>https://repo.spring.io/ext-release-local/</url>
7070
<releases>
7171
<enabled>true</enabled>
7272
</releases>
@@ -87,7 +87,7 @@
8787
<repository>
8888
<id>spring-milestones</id>
8989
<name>Spring Milestones</name>
90-
<url>http://repo.spring.io/milestone</url>
90+
<url>https://repo.spring.io/milestone</url>
9191
<snapshots>
9292
<enabled>false</enabled>
9393
</snapshots>
@@ -97,7 +97,7 @@
9797
<pluginRepository>
9898
<id>spring-milestones</id>
9999
<name>Spring Milestones</name>
100-
<url>http://repo.spring.io/snapshot</url>
100+
<url>https://repo.spring.io/snapshot</url>
101101
<snapshots>
102102
<enabled>false</enabled>
103103
</snapshots>
@@ -109,7 +109,7 @@
109109
<repositories>
110110
<repository>
111111
<id>spring-ext</id>
112-
<url>http://repo.spring.io/ext-release-local/</url>
112+
<url>https://repo.spring.io/ext-release-local/</url>
113113
<releases>
114114
<enabled>true</enabled>
115115
</releases>

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ requests. If you want to raise an issue, please follow the recommendations below
9191

9292
== Building from Source
9393
You don't need to build from source to use Spring Boot (binaries in
94-
http://repo.spring.io[repo.spring.io]), but if you want to try out the latest and
94+
https://repo.spring.io[repo.spring.io]), but if you want to try out the latest and
9595
greatest, Spring Boot can be easily built with the
9696
https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8 (although
9797
Boot applications can run on Java 1.6).

spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2015 the original author or authors.
2+
* Copyright 2012-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -45,10 +45,10 @@ public final class RepositoryConfigurationFactory {
4545
"central", URI.create("https://repo.maven.apache.org/maven2/"), false);
4646

4747
private static final RepositoryConfiguration SPRING_MILESTONE = new RepositoryConfiguration(
48-
"spring-milestone", URI.create("http://repo.spring.io/milestone"), false);
48+
"spring-milestone", URI.create("https://repo.spring.io/milestone"), false);
4949

5050
private static final RepositoryConfiguration SPRING_SNAPSHOT = new RepositoryConfiguration(
51-
"spring-snapshot", URI.create("http://repo.spring.io/snapshot"), true);
51+
"spring-snapshot", URI.create("https://repo.spring.io/snapshot"), true);
5252

5353
private RepositoryConfigurationFactory() {
5454
}

spring-boot-dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,15 +3043,15 @@
30433043
<repository>
30443044
<id>spring-milestones</id>
30453045
<name>Spring Milestones</name>
3046-
<url>http://repo.spring.io/milestone</url>
3046+
<url>https://repo.spring.io/milestone</url>
30473047
<snapshots>
30483048
<enabled>false</enabled>
30493049
</snapshots>
30503050
</repository>
30513051
<repository>
30523052
<id>spring-snapshots</id>
30533053
<name>Spring Snapshots</name>
3054-
<url>http://repo.spring.io/snapshot</url>
3054+
<url>https://repo.spring.io/snapshot</url>
30553055
<snapshots>
30563056
<enabled>true</enabled>
30573057
</snapshots>

spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ If you are using a milestone or snapshot release you will also need to add appro
8585
<pluginRepositories>
8686
<pluginRepository>
8787
<id>spring-snapshots</id>
88-
<url>http://repo.spring.io/snapshot</url>
88+
<url>https://repo.spring.io/snapshot</url>
8989
</pluginRepository>
9090
<pluginRepository>
9191
<id>spring-milestones</id>
92-
<url>http://repo.spring.io/milestone</url>
92+
<url>https://repo.spring.io/milestone</url>
9393
</pluginRepository>
9494
</pluginRepositories>
9595
----
@@ -189,8 +189,8 @@ the `spring-boot` plugin:
189189
----
190190
buildscript {
191191
repositories {
192-
maven { url 'http://repo.spring.io/snapshot' }
193-
maven { url 'http://repo.spring.io/milestone' }
192+
maven { url 'https://repo.spring.io/snapshot' }
193+
maven { url 'https://repo.spring.io/milestone' }
194194
}
195195
dependencies {
196196
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
271271
272272
repositories {
273273
jcenter()
274-
maven { url "http://repo.spring.io/libs-snapshot" }
274+
maven { url "https://repo.spring.io/libs-snapshot" }
275275
}
276276
277277
dependencies {

spring-boot-docs/src/main/asciidoc/deployment.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ This should be everything you need. The most common workflow for Heroku deployme
202202
-----> Executing: mvn -B -DskipTests=true clean install
203203
204204
[INFO] Scanning for projects...
205-
Downloading: http://repo.spring.io/...
206-
Downloaded: http://repo.spring.io/... (818 B at 1.8 KB/sec)
205+
Downloading: https://repo.spring.io/...
206+
Downloaded: https://repo.spring.io/... (818 B at 1.8 KB/sec)
207207
....
208208
Downloaded: http://s3pository.heroku.com/jvm/... (152 KB at 595.3 KB/sec)
209209
[INFO] Installing /tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229/target/...

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -172,22 +172,22 @@ ifeval::["{spring-boot-repo}" != "release"]
172172
<repositories>
173173
<repository>
174174
<id>spring-snapshots</id>
175-
<url>http://repo.spring.io/snapshot</url>
175+
<url>https://repo.spring.io/snapshot</url>
176176
<snapshots><enabled>true</enabled></snapshots>
177177
</repository>
178178
<repository>
179179
<id>spring-milestones</id>
180-
<url>http://repo.spring.io/milestone</url>
180+
<url>https://repo.spring.io/milestone</url>
181181
</repository>
182182
</repositories>
183183
<pluginRepositories>
184184
<pluginRepository>
185185
<id>spring-snapshots</id>
186-
<url>http://repo.spring.io/snapshot</url>
186+
<url>https://repo.spring.io/snapshot</url>
187187
</pluginRepository>
188188
<pluginRepository>
189189
<id>spring-milestones</id>
190-
<url>http://repo.spring.io/milestone</url>
190+
<url>https://repo.spring.io/milestone</url>
191191
</pluginRepository>
192192
</pluginRepositories>
193193
endif::[]
@@ -234,8 +234,8 @@ ifeval::["{spring-boot-repo}" != "release"]
234234
buildscript {
235235
repositories {
236236
jcenter()
237-
maven { url 'http://repo.spring.io/snapshot' }
238-
maven { url 'http://repo.spring.io/milestone' }
237+
maven { url 'https://repo.spring.io/snapshot' }
238+
maven { url 'https://repo.spring.io/milestone' }
239239
}
240240
dependencies {
241241
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}'
@@ -254,8 +254,8 @@ endif::[]
254254
repositories {
255255
jcenter()
256256
ifeval::["{spring-boot-repo}" != "release"]
257-
maven { url "http://repo.spring.io/snapshot" }
258-
maven { url "http://repo.spring.io/milestone" }
257+
maven { url "https://repo.spring.io/snapshot" }
258+
maven { url "https://repo.spring.io/milestone" }
259259
endif::[]
260260
}
261261
@@ -282,10 +282,10 @@ way to get a Spring application off the ground.
282282
==== Manual installation
283283
You can download the Spring CLI distribution from the Spring software repository:
284284

285-
* 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]
286-
* 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]
285+
* 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]
286+
* 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]
287287

288-
Cutting edge http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions]
288+
Cutting edge https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions]
289289
are also available.
290290

291291
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"]
519519
<repositories>
520520
<repository>
521521
<id>spring-snapshots</id>
522-
<url>http://repo.spring.io/snapshot</url>
522+
<url>https://repo.spring.io/snapshot</url>
523523
<snapshots><enabled>true</enabled></snapshots>
524524
</repository>
525525
<repository>
526526
<id>spring-milestones</id>
527-
<url>http://repo.spring.io/milestone</url>
527+
<url>https://repo.spring.io/milestone</url>
528528
</repository>
529529
</repositories>
530530
<pluginRepositories>
531531
<pluginRepository>
532532
<id>spring-snapshots</id>
533-
<url>http://repo.spring.io/snapshot</url>
533+
<url>https://repo.spring.io/snapshot</url>
534534
</pluginRepository>
535535
<pluginRepository>
536536
<id>spring-milestones</id>
537-
<url>http://repo.spring.io/milestone</url>
537+
<url>https://repo.spring.io/milestone</url>
538538
</pluginRepository>
539539
</pluginRepositories>
540540
endif::[]

spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ Maven, there is no "`super parent`" to import to share some configuration.
216216
----
217217
repositories {
218218
ifeval::["{spring-boot-repo}" != "release"]
219-
maven { url "http://repo.spring.io/snapshot" }
220-
maven { url "http://repo.spring.io/milestone" }
219+
maven { url "https://repo.spring.io/snapshot" }
220+
maven { url "https://repo.spring.io/milestone" }
221221
endif::[]
222222
ifeval::["{spring-boot-repo}" == "release"]
223223
jcenter()
@@ -248,8 +248,8 @@ ifeval::["{spring-boot-repo}" != "release"]
248248
buildscript {
249249
repositories {
250250
jcenter()
251-
maven { url 'http://repo.spring.io/snapshot' }
252-
maven { url 'http://repo.spring.io/milestone' }
251+
maven { url 'https://repo.spring.io/snapshot' }
252+
maven { url 'https://repo.spring.io/milestone' }
253253
}
254254
dependencies {
255255
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}'
@@ -263,8 +263,8 @@ endif::[]
263263
repositories {
264264
jcenter()
265265
ifeval::["{spring-boot-repo}" != "release"]
266-
maven { url 'http://repo.spring.io/snapshot' }
267-
maven { url 'http://repo.spring.io/milestone' }
266+
maven { url 'https://repo.spring.io/snapshot' }
267+
maven { url 'https://repo.spring.io/milestone' }
268268
endif::[]
269269
}
270270

spring-boot-samples/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,15 @@
238238
<repository>
239239
<id>spring-snapshots</id>
240240
<name>Spring Snapshots</name>
241-
<url>http://repo.spring.io/snapshot</url>
241+
<url>https://repo.spring.io/snapshot</url>
242242
<snapshots>
243243
<enabled>true</enabled>
244244
</snapshots>
245245
</repository>
246246
<repository>
247247
<id>spring-milestones</id>
248248
<name>Spring Milestones</name>
249-
<url>http://repo.spring.io/milestone</url>
249+
<url>https://repo.spring.io/milestone</url>
250250
<snapshots>
251251
<enabled>false</enabled>
252252
</snapshots>
@@ -256,23 +256,23 @@
256256
<pluginRepository>
257257
<id>spring-snapshots</id>
258258
<name>Spring Snapshots</name>
259-
<url>http://repo.spring.io/snapshot</url>
259+
<url>https://repo.spring.io/snapshot</url>
260260
<snapshots>
261261
<enabled>true</enabled>
262262
</snapshots>
263263
</pluginRepository>
264264
<pluginRepository>
265265
<id>spring-milestones</id>
266266
<name>Spring Milestones</name>
267-
<url>http://repo.spring.io/milestone</url>
267+
<url>https://repo.spring.io/milestone</url>
268268
<snapshots>
269269
<enabled>false</enabled>
270270
</snapshots>
271271
</pluginRepository>
272272
<pluginRepository>
273273
<id>spring-releases</id>
274274
<name>Spring Releases</name>
275-
<url>http://repo.spring.io/release</url>
275+
<url>https://repo.spring.io/release</url>
276276
<snapshots>
277277
<enabled>false</enabled>
278278
</snapshots>

spring-boot-samples/spring-boot-sample-actuator/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ buildscript {
66
// NOTE: You should declare only repositories that you need here
77
mavenLocal()
88
mavenCentral()
9-
maven { url "http://repo.spring.io/release" }
10-
maven { url "http://repo.spring.io/milestone" }
11-
maven { url "http://repo.spring.io/snapshot" }
9+
maven { url "https://repo.spring.io/release" }
10+
maven { url "https://repo.spring.io/milestone" }
11+
maven { url "https://repo.spring.io/snapshot" }
1212
}
1313
dependencies {
1414
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
@@ -31,9 +31,9 @@ repositories {
3131
// NOTE: You should declare only repositories that you need here
3232
mavenLocal()
3333
mavenCentral()
34-
maven { url "http://repo.spring.io/release" }
35-
maven { url "http://repo.spring.io/milestone" }
36-
maven { url "http://repo.spring.io/snapshot" }
34+
maven { url "https://repo.spring.io/release" }
35+
maven { url "https://repo.spring.io/milestone" }
36+
maven { url "https://repo.spring.io/snapshot" }
3737
}
3838

3939
dependencies {

spring-boot-samples/spring-boot-sample-ant/ivysettings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<ivy pattern="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].pom" />
99
</filesystem>
1010
<ibiblio name="ibiblio" m2compatible="true" />
11-
<ibiblio name="spring-milestones" m2compatible="true" root="http://repo.spring.io/release" />
12-
<ibiblio name="spring-milestones" m2compatible="true" root="http://repo.spring.io/milestone" />
13-
<ibiblio name="spring-snapshots" m2compatible="true" root="http://repo.spring.io/snapshot" />
11+
<ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/release" />
12+
<ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
13+
<ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
1414
</chain>
1515
</resolvers>
1616
</ivysettings>

0 commit comments

Comments
 (0)