Skip to content

Commit

Permalink
Use HTTPS URLs where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
dreis2211 authored and wilkinsona committed Feb 2, 2018
1 parent 00489c7 commit 81459ef
Show file tree
Hide file tree
Showing 28 changed files with 167 additions and 161 deletions.
18 changes: 9 additions & 9 deletions .settings-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<repositories>
<repository>
<id>spring-ext</id>
<url>http://repo.spring.io/ext-release-local/</url>
<url>https://repo.spring.io/ext-release-local/</url>
<releases>
<enabled>true</enabled>
</releases>
Expand All @@ -18,15 +18,15 @@
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand Down Expand Up @@ -54,15 +54,15 @@
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand All @@ -74,7 +74,7 @@
<repositories>
<repository>
<id>spring-ext</id>
<url>http://repo.spring.io/ext-release-local/</url>
<url>https://repo.spring.io/ext-release-local/</url>
<releases>
<enabled>true</enabled>
</releases>
Expand All @@ -95,7 +95,7 @@
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
Expand All @@ -113,7 +113,7 @@
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/snapshot</url>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
Expand All @@ -125,7 +125,7 @@
<repositories>
<repository>
<id>spring-ext</id>
<url>http://repo.spring.io/ext-release-local/</url>
<url>https://repo.spring.io/ext-release-local/</url>
<releases>
<enabled>true</enabled>
</releases>
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ unacceptable behavior to [email protected].

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

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

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



Expand Down
22 changes: 11 additions & 11 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= 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"]
:docs: http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
:docs: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference

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


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

== Building from Source
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
https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8.

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

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

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


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

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


Expand Down
2 changes: 1 addition & 1 deletion SUPPORT.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ problem.

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

Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@
<repository>
<id>spring-milestone</id>
<name>Spring Milestone</name>
<url>http://repo.spring.io/milestone</url>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-snapshot</id>
<name>Spring Snapshot</name>
<url>http://repo.spring.io/snapshot</url>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand All @@ -114,15 +114,15 @@
<pluginRepository>
<id>spring-milestone</id>
<name>Spring Milestone</name>
<url>http://repo.spring.io/milestone</url>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-snapshot</id>
<name>Spring Snapshot</name>
<url>http://repo.spring.io/snapshot</url>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-project/spring-boot-actuator/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Spring Boot Actuator includes a number of additional features to help you monito
manage your application when it's pushed to production. You can choose to manage and
monitor your application using HTTP or JMX endpoints. Auditing, health and metrics
gathering can be automatically applied to your application. The
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready[user guide]
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready[user guide]
covers the features in more detail.

== Enabling the Actuator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'formula'

class Springboot < Formula
homepage 'http://projects.spring.io/spring-boot/'
homepage 'https://projects.spring.io/spring-boot/'
url 'https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${project.version}/spring-boot-cli-${project.version}-bin.tar.gz'
version '${project.version}'
sha256 '${checksum}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public final class RepositoryConfigurationFactory {
"central", URI.create("https://repo.maven.apache.org/maven2/"), false);

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(
"spring-snapshot", URI.create("http://repo.spring.io/snapshot"), true);
"spring-snapshot", URI.create("https://repo.spring.io/snapshot"), true);

private RepositoryConfigurationFactory() {
}
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-project/spring-boot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<packaging>pom</packaging>
<name>Spring Boot Dependencies</name>
<description>Spring Boot Dependencies</description>
<url>http://projects.spring.io/spring-boot/</url>
<url>https://projects.spring.io/spring-boot/</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void configuredWithRestartStrategy() throws Exception {
Map<String, Object> properties = new HashMap<>();
File folder = this.temp.newFolder();
List<URL> urls = new ArrayList<>();
urls.add(new URL("http://spring.io"));
urls.add(new URL("https://spring.io"));
urls.add(folder.toURI().toURL());
properties.put("urls", urls);
MapPropertySource propertySource = new MapPropertySource("test", properties);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ public void httpUrl() throws Exception {
assertThat(ChangeableUrls.fromUrls(url)).isEmpty();
}

@Test
public void httpsUrl() throws Exception {
URL url = new URL("https://spring.io");
assertThat(ChangeableUrls.fromUrls(url)).isEmpty();
}

@Test
public void skipsUrls() throws Exception {
ChangeableUrls urls = ChangeableUrls.fromUrls(makeUrl("spring-boot"),
Expand Down
10 changes: 5 additions & 5 deletions spring-boot-project/spring-boot-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -911,11 +911,11 @@
<quiet>true</quiet>
<stylesheetfile>${basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile>
<links>
<link>http://docs.oracle.com/javase/8/docs/api/</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
<link>http://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
<link>http://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/</link>
<link>http://tomcat.apache.org/tomcat-8.5-doc/api/</link>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<link>https://docs.oracle.com/javaee/7/api/</link>
<link>https://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
<link>https://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/</link>
<link>https://tomcat.apache.org/tomcat-8.5-doc/api/</link>
<link>http://download.eclipse.org/jetty/stable-9/apidocs/</link>
<link>http://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/</link>
</links>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ consider a different logging implementation.
If the preceding restrictions mean that you cannot use Spring Boot Loader, consider the
following alternatives:

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

Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ If you use a milestone or snapshot release, you also need to add the appropriate
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url>
<url>https://repo.spring.io/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ deploy stand-alone executable jar applications as well as traditional `.war` pac
applications.

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

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

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

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

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

Expand Down Expand Up @@ -199,8 +199,8 @@ deployments is to `git push` the code to production, as shown in the following e
-----> Executing: mvn -B -DskipTests=true clean install
[INFO] Scanning for projects...
Downloading: http://repo.spring.io/...
Downloaded: http://repo.spring.io/... (818 B at 1.8 KB/sec)
Downloading: https://repo.spring.io/...
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)
[INFO] Installing /tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229/target/...
Expand Down Expand Up @@ -261,7 +261,7 @@ simplest option: AWS Elastic Beanstalk.

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

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

[[deployment-whats-next]]
== What to Read Next
Check out the http://www.cloudfoundry.com/[Cloud Foundry],
Check out the https://www.cloudfoundry.com/[Cloud Foundry],
https://www.heroku.com/[Heroku], https://www.openshift.com[OpenShift], and
https://boxfuse.com[Boxfuse] web sites for more information about the kinds of features
that a PaaS can offer. These are just four of the most popular Java PaaS providers. Since
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ If you have trouble with Spring Boot, we would like to help.
* Try the <<howto.adoc#howto, How-to documents>>. They provide solutions to the most
common questions.
* Learn the Spring basics. Spring Boot builds on many other Spring projects. Check the
http://spring.io[spring.io] web-site for a wealth of reference documentation. If you are
starting out with Spring, try one of the http://spring.io/guides[guides].
* Ask a question. We monitor http://stackoverflow.com[stackoverflow.com] for questions
tagged with http://stackoverflow.com/tags/spring-boot[`spring-boot`].
https://spring.io[spring.io] web-site for a wealth of reference documentation. If you are
starting out with Spring, try one of the https://spring.io/guides[guides].
* Ask a question. We monitor https://stackoverflow.com[stackoverflow.com] for questions
tagged with https://stackoverflow.com/tags/spring-boot[`spring-boot`].
* Report bugs with Spring Boot at https://github.com/spring-projects/spring-boot/issues.

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

0 comments on commit 81459ef

Please sign in to comment.