Skip to content

Commit 81459ef

Browse files
dreis2211wilkinsona
authored andcommitted
Use HTTPS URLs where applicable
1 parent 00489c7 commit 81459ef

File tree

28 files changed

+167
-161
lines changed

28 files changed

+167
-161
lines changed

.settings-template.xml

+9-9
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>
@@ -54,15 +54,15 @@
5454
<pluginRepository>
5555
<id>spring-milestones</id>
5656
<name>Spring Milestones</name>
57-
<url>http://repo.spring.io/milestone</url>
57+
<url>https://repo.spring.io/milestone</url>
5858
<snapshots>
5959
<enabled>false</enabled>
6060
</snapshots>
6161
</pluginRepository>
6262
<pluginRepository>
6363
<id>spring-snapshots</id>
6464
<name>Spring Snapshots</name>
65-
<url>http://repo.spring.io/snapshot</url>
65+
<url>https://repo.spring.io/snapshot</url>
6666
<snapshots>
6767
<enabled>true</enabled>
6868
</snapshots>
@@ -74,7 +74,7 @@
7474
<repositories>
7575
<repository>
7676
<id>spring-ext</id>
77-
<url>http://repo.spring.io/ext-release-local/</url>
77+
<url>https://repo.spring.io/ext-release-local/</url>
7878
<releases>
7979
<enabled>true</enabled>
8080
</releases>
@@ -95,7 +95,7 @@
9595
<repository>
9696
<id>spring-milestones</id>
9797
<name>Spring Milestones</name>
98-
<url>http://repo.spring.io/milestone</url>
98+
<url>https://repo.spring.io/milestone</url>
9999
<snapshots>
100100
<enabled>false</enabled>
101101
</snapshots>
@@ -113,7 +113,7 @@
113113
<pluginRepository>
114114
<id>spring-milestones</id>
115115
<name>Spring Milestones</name>
116-
<url>http://repo.spring.io/snapshot</url>
116+
<url>https://repo.spring.io/snapshot</url>
117117
<snapshots>
118118
<enabled>false</enabled>
119119
</snapshots>
@@ -125,7 +125,7 @@
125125
<repositories>
126126
<repository>
127127
<id>spring-ext</id>
128-
<url>http://repo.spring.io/ext-release-local/</url>
128+
<url>https://repo.spring.io/ext-release-local/</url>
129129
<releases>
130130
<enabled>true</enabled>
131131
</releases>

CONTRIBUTING.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ unacceptable behavior to [email protected].
1414

1515
== Using GitHub issues
1616
We use GitHub issues to track bugs and enhancements. If you have a general usage question
17-
please ask on http://stackoverflow.com[Stack Overflow]. The Spring Boot team and the
18-
broader community monitor the http://stackoverflow.com/tags/spring-boot[`spring-boot`]
17+
please ask on https://stackoverflow.com[Stack Overflow]. The Spring Boot team and the
18+
broader community monitor the https://stackoverflow.com/tags/spring-boot[`spring-boot`]
1919
tag.
2020

2121
If you are reporting a bug, please help to speed up problem diagnosis by providing as much
@@ -73,7 +73,7 @@ should also work without issue.
7373

7474
=== Building from source
7575
To build the source you will need to install
76-
http://maven.apache.org/run-maven/index.html[Apache Maven] v3.2.3 or above and JDK 1.8.
76+
https://maven.apache.org/run-maven/index.html[Apache Maven] v3.2.3 or above and JDK 1.8.
7777

7878

7979

README.adoc

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
2-
:docs: http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
2+
:docs: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
33

44
Spring Boot makes it easy to create Spring-powered, production-grade applications and
55
services with absolute minimum fuss. It takes an opinionated view of the Spring platform
@@ -62,12 +62,12 @@ Having trouble with Spring Boot? We'd like to help!
6262
{docs}/htmlsingle/#howto[How-to's] -- they provide solutions to the most common
6363
questions.
6464
* Learn the Spring basics -- Spring Boot builds on many other Spring projects, check
65-
the http://spring.io[spring.io] web-site for a wealth of reference documentation. If
66-
you are just starting out with Spring, try one of the http://spring.io/guides[guides].
65+
the https://spring.io[spring.io] web-site for a wealth of reference documentation. If
66+
you are just starting out with Spring, try one of the https://spring.io/guides[guides].
6767
* If you are upgrading, read the https://github.com/spring-projects/spring-boot/wiki[release notes]
6868
for upgrade instructions and "new and noteworthy" features.
69-
* Ask a question - we monitor http://stackoverflow.com[stackoverflow.com] for questions
70-
tagged with http://stackoverflow.com/tags/spring-boot[`spring-boot`].
69+
* Ask a question - we monitor https://stackoverflow.com[stackoverflow.com] for questions
70+
tagged with https://stackoverflow.com/tags/spring-boot[`spring-boot`].
7171
* Report bugs with Spring Boot at https://github.com/spring-projects/spring-boot/issues[github.com/spring-projects/spring-boot/issues].
7272

7373

@@ -93,7 +93,7 @@ requests. If you want to raise an issue, please follow the recommendations below
9393

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

@@ -103,7 +103,7 @@ https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8.
103103
----
104104

105105
If you want to build with the regular `mvn` command, you will need
106-
http://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above].
106+
https://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above].
107107

108108
NOTE: You may need to increase the amount of memory available to Maven by setting
109109
a `MAVEN_OPTS` environment variable with the value `-Xmx512m`. Remember
@@ -231,16 +231,16 @@ be built with maven and run by invoking `java -jar target/<sample>.jar`.
231231

232232

233233
== Guides
234-
The http://spring.io/[spring.io] site contains several guides that show how to use Spring
234+
The https://spring.io/[spring.io] site contains several guides that show how to use Spring
235235
Boot step-by-step:
236236

237-
* http://spring.io/guides/gs/spring-boot/[Building an Application with Spring Boot] is a
237+
* https://spring.io/guides/gs/spring-boot/[Building an Application with Spring Boot] is a
238238
very basic guide that shows you how to create a simple application, run it and add some
239239
management services.
240-
* http://spring.io/guides/gs/actuator-service/[Building a RESTful Web Service with Spring
240+
* https://spring.io/guides/gs/actuator-service/[Building a RESTful Web Service with Spring
241241
Boot Actuator] is a guide to creating a REST web service and also shows how the server
242242
can be configured.
243-
* http://spring.io/guides/gs/convert-jar-to-war/[Converting a Spring Boot JAR Application
243+
* https://spring.io/guides/gs/convert-jar-to-war/[Converting a Spring Boot JAR Application
244244
to a WAR] shows you how to run applications in a web server as a WAR file.
245245

246246

SUPPORT.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ problem.
1313

1414
== Stack Overflow
1515
The Spring Boot community monitors the
16-
http://stackoverflow.com/tags/spring-boot[`spring-boot`] tag on Stack Overflow. Before
16+
https://stackoverflow.com/tags/spring-boot[`spring-boot`] tag on Stack Overflow. Before
1717
asking a question, please familiar yourself with Stack Overflow's
1818
https://stackoverflow.com/help/how-to-ask[advice on how to ask a good question].
1919

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@
8181
<repository>
8282
<id>spring-milestone</id>
8383
<name>Spring Milestone</name>
84-
<url>http://repo.spring.io/milestone</url>
84+
<url>https://repo.spring.io/milestone</url>
8585
<snapshots>
8686
<enabled>false</enabled>
8787
</snapshots>
8888
</repository>
8989
<repository>
9090
<id>spring-snapshot</id>
9191
<name>Spring Snapshot</name>
92-
<url>http://repo.spring.io/snapshot</url>
92+
<url>https://repo.spring.io/snapshot</url>
9393
<snapshots>
9494
<enabled>true</enabled>
9595
</snapshots>
@@ -114,15 +114,15 @@
114114
<pluginRepository>
115115
<id>spring-milestone</id>
116116
<name>Spring Milestone</name>
117-
<url>http://repo.spring.io/milestone</url>
117+
<url>https://repo.spring.io/milestone</url>
118118
<snapshots>
119119
<enabled>false</enabled>
120120
</snapshots>
121121
</pluginRepository>
122122
<pluginRepository>
123123
<id>spring-snapshot</id>
124124
<name>Spring Snapshot</name>
125-
<url>http://repo.spring.io/snapshot</url>
125+
<url>https://repo.spring.io/snapshot</url>
126126
<snapshots>
127127
<enabled>true</enabled>
128128
</snapshots>

spring-boot-project/spring-boot-actuator/README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Spring Boot Actuator includes a number of additional features to help you monito
44
manage your application when it's pushed to production. You can choose to manage and
55
monitor your application using HTTP or JMX endpoints. Auditing, health and metrics
66
gathering can be automatically applied to your application. The
7-
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready[user guide]
7+
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready[user guide]
88
covers the features in more detail.
99

1010
== Enabling the Actuator

spring-boot-project/spring-boot-cli/src/main/homebrew/springboot.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'formula'
22

33
class Springboot < Formula
4-
homepage 'http://projects.spring.io/spring-boot/'
4+
homepage 'https://projects.spring.io/spring-boot/'
55
url 'https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${project.version}/spring-boot-cli-${project.version}-bin.tar.gz'
66
version '${project.version}'
77
sha256 '${checksum}'

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -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-project/spring-boot-dependencies/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<packaging>pom</packaging>
1313
<name>Spring Boot Dependencies</name>
1414
<description>Spring Boot Dependencies</description>
15-
<url>http://projects.spring.io/spring-boot/</url>
15+
<url>https://projects.spring.io/spring-boot/</url>
1616
<licenses>
1717
<license>
1818
<name>Apache License, Version 2.0</name>

spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void configuredWithRestartStrategy() throws Exception {
7070
Map<String, Object> properties = new HashMap<>();
7171
File folder = this.temp.newFolder();
7272
List<URL> urls = new ArrayList<>();
73-
urls.add(new URL("http://spring.io"));
73+
urls.add(new URL("https://spring.io"));
7474
urls.add(folder.toURI().toURL());
7575
properties.put("urls", urls);
7676
MapPropertySource propertySource = new MapPropertySource("test", properties);

spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java

+6
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ public void httpUrl() throws Exception {
6363
assertThat(ChangeableUrls.fromUrls(url)).isEmpty();
6464
}
6565

66+
@Test
67+
public void httpsUrl() throws Exception {
68+
URL url = new URL("https://spring.io");
69+
assertThat(ChangeableUrls.fromUrls(url)).isEmpty();
70+
}
71+
6672
@Test
6773
public void skipsUrls() throws Exception {
6874
ChangeableUrls urls = ChangeableUrls.fromUrls(makeUrl("spring-boot"),

spring-boot-project/spring-boot-docs/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -911,11 +911,11 @@
911911
<quiet>true</quiet>
912912
<stylesheetfile>${basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile>
913913
<links>
914-
<link>http://docs.oracle.com/javase/8/docs/api/</link>
915-
<link>http://docs.oracle.com/javaee/7/api/</link>
916-
<link>http://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
917-
<link>http://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/</link>
918-
<link>http://tomcat.apache.org/tomcat-8.5-doc/api/</link>
914+
<link>https://docs.oracle.com/javase/8/docs/api/</link>
915+
<link>https://docs.oracle.com/javaee/7/api/</link>
916+
<link>https://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
917+
<link>https://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/</link>
918+
<link>https://tomcat.apache.org/tomcat-8.5-doc/api/</link>
919919
<link>http://download.eclipse.org/jetty/stable-9/apidocs/</link>
920920
<link>http://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/</link>
921921
</links>

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ consider a different logging implementation.
328328
If the preceding restrictions mean that you cannot use Spring Boot Loader, consider the
329329
following alternatives:
330330

331-
* http://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
331+
* https://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
332332
* http://www.jdotsoft.com/JarClassLoader.php[JarClassLoader]
333333
* http://one-jar.sourceforge.net[OneJar]
334334

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ If you use a milestone or snapshot release, you also need to add the appropriate
8686
<pluginRepositories>
8787
<pluginRepository>
8888
<id>spring-snapshots</id>
89-
<url>http://repo.spring.io/snapshot</url>
89+
<url>https://repo.spring.io/snapshot</url>
9090
</pluginRepository>
9191
<pluginRepository>
9292
<id>spring-milestones</id>
93-
<url>http://repo.spring.io/milestone</url>
93+
<url>https://repo.spring.io/milestone</url>
9494
</pluginRepository>
9595
</pluginRepositories>
9696
----

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

+10-10
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ deploy stand-alone executable jar applications as well as traditional `.war` pac
4646
applications.
4747

4848
Once you have built your application (by using, for example, `mvn clean package`) and have
49-
http://docs.cloudfoundry.org/devguide/installcf/install-go-cli.html[installed the `cf`
49+
https://docs.cloudfoundry.org/cf-cli/install-go-cli.html[installed the `cf`
5050
command line tool], deploy your application by using the `cf push` command, substituting
5151
the path to your compiled `.jar`. Be sure to have
52-
http://docs.cloudfoundry.org/devguide/installcf/whats-new-v6.html#login[logged in with
52+
https://docs.cloudfoundry.org/cf-cli/getting-started.html#login[logged in with
5353
your `cf` command line client] before pushing an application. The following line shows
5454
using the `cf push` command to deploy an application:
5555

@@ -61,9 +61,9 @@ using the `cf push` command to deploy an application:
6161
NOTE: In the preceding example, we substitute `acloudyspringtime` for whatever value you
6262
give `cf` as the name of your application.
6363

64-
See the http://docs.cloudfoundry.org/devguide/installcf/whats-new-v6.html#push[`cf push`
64+
See the https://docs.cloudfoundry.org/cf-cli/getting-started.html#push[`cf push`
6565
documentation] for more options. If there is a Cloud Foundry
66-
http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html[`manifest.yml`]
66+
https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html[`manifest.yml`]
6767
file present in the same directory, it is considered.
6868

6969
At this point, `cf` starts uploading your application, producing output similar to the
@@ -152,7 +152,7 @@ information (such as database credentials). See the
152152
{dc-spring-boot}/cloud/CloudFoundryVcapEnvironmentPostProcessor.html['`CloudFoundryVcapEnvironmentPostProcessor`']
153153
Javadoc for complete details.
154154

155-
TIP: The http://cloud.spring.io/spring-cloud-connectors/[Spring Cloud Connectors] project
155+
TIP: The https://cloud.spring.io/spring-cloud-connectors/[Spring Cloud Connectors] project
156156
is a better fit for tasks such as configuring a DataSource. Spring Boot includes
157157
auto-configuration support and a `spring-boot-starter-cloud-connectors` starter.
158158

@@ -199,8 +199,8 @@ deployments is to `git push` the code to production, as shown in the following e
199199
-----> Executing: mvn -B -DskipTests=true clean install
200200
201201
[INFO] Scanning for projects...
202-
Downloading: http://repo.spring.io/...
203-
Downloaded: http://repo.spring.io/... (818 B at 1.8 KB/sec)
202+
Downloading: https://repo.spring.io/...
203+
Downloaded: https://repo.spring.io/... (818 B at 1.8 KB/sec)
204204
....
205205
Downloaded: http://s3pository.heroku.com/jvm/... (152 KB at 595.3 KB/sec)
206206
[INFO] Installing /tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229/target/...
@@ -261,7 +261,7 @@ simplest option: AWS Elastic Beanstalk.
261261

262262
==== AWS Elastic Beanstalk
263263
As described in the official
264-
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Java.html[Elastic
264+
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Java.html[Elastic
265265
Beanstalk Java guide], there are two main options to deploy a Java application. You can
266266
either use the "`Tomcat Platform`" or the "`Java SE platform`".
267267

@@ -307,7 +307,7 @@ best to upload the binaries instead. To do so, add lines similar to the followin
307307
By default an Elastic Beanstalk environment is load balanced. The load balancer has a
308308
significant cost. To avoid that cost, set the environment type to "`Single instance`", as
309309
described in
310-
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-create-wizard.html#environments-create-wizard-capacity[the
310+
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-create-wizard.html#environments-create-wizard-capacity[the
311311
Amazon documentation]. You can also create single instance environments by using the CLI
312312
and the following command:
313313
@@ -847,7 +847,7 @@ application.
847847

848848
[[deployment-whats-next]]
849849
== What to Read Next
850-
Check out the http://www.cloudfoundry.com/[Cloud Foundry],
850+
Check out the https://www.cloudfoundry.com/[Cloud Foundry],
851851
https://www.heroku.com/[Heroku], https://www.openshift.com[OpenShift], and
852852
https://boxfuse.com[Boxfuse] web sites for more information about the kinds of features
853853
that a PaaS can offer. These are just four of the most popular Java PaaS providers. Since

spring-boot-project/spring-boot-docs/src/main/asciidoc/documentation-overview.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ If you have trouble with Spring Boot, we would like to help.
3333
* Try the <<howto.adoc#howto, How-to documents>>. They provide solutions to the most
3434
common questions.
3535
* Learn the Spring basics. Spring Boot builds on many other Spring projects. Check the
36-
http://spring.io[spring.io] web-site for a wealth of reference documentation. If you are
37-
starting out with Spring, try one of the http://spring.io/guides[guides].
38-
* Ask a question. We monitor http://stackoverflow.com[stackoverflow.com] for questions
39-
tagged with http://stackoverflow.com/tags/spring-boot[`spring-boot`].
36+
https://spring.io[spring.io] web-site for a wealth of reference documentation. If you are
37+
starting out with Spring, try one of the https://spring.io/guides[guides].
38+
* Ask a question. We monitor https://stackoverflow.com[stackoverflow.com] for questions
39+
tagged with https://stackoverflow.com/tags/spring-boot[`spring-boot`].
4040
* Report bugs with Spring Boot at https://github.com/spring-projects/spring-boot/issues.
4141

4242
NOTE: All of Spring Boot is open source, including the documentation. If you find

0 commit comments

Comments
 (0)