From 81459efffa86ce8074e4be9e740f9dc24469b283 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Wed, 3 Jan 2018 17:07:10 +0100 Subject: [PATCH] Use HTTPS URLs where applicable --- .settings-template.xml | 18 +++--- CONTRIBUTING.adoc | 6 +- README.adoc | 22 ++++---- SUPPORT.adoc | 2 +- pom.xml | 8 +-- .../spring-boot-actuator/README.adoc | 2 +- .../src/main/homebrew/springboot.rb | 2 +- .../RepositoryConfigurationFactory.java | 4 +- .../spring-boot-dependencies/pom.xml | 2 +- .../ClassPathFileSystemWatcherTests.java | 2 +- .../devtools/restart/ChangeableUrlsTests.java | 6 ++ spring-boot-project/spring-boot-docs/pom.xml | 10 ++-- .../appendix-executable-jar-format.adoc | 2 +- .../src/main/asciidoc/build-tool-plugins.adoc | 4 +- .../src/main/asciidoc/deployment.adoc | 20 +++---- .../main/asciidoc/documentation-overview.adoc | 8 +-- .../src/main/asciidoc/getting-started.adoc | 52 ++++++++--------- .../src/main/asciidoc/howto.adoc | 14 ++--- .../src/main/asciidoc/index.adoc | 46 +++++++-------- .../asciidoc/production-ready-features.adoc | 4 +- .../main/asciidoc/spring-boot-features.adoc | 56 +++++++++---------- .../src/main/asciidoc/using-spring-boot.adoc | 12 ++-- .../spring-boot-starters/README.adoc | 6 +- .../src/it/sample/ivysettings.xml | 6 +- .../src/main/asciidoc/index.adoc | 2 +- .../spring-boot-sample-ant/ivysettings.xml | 6 +- .../spring-boot-sample-data-neo4j/README.adoc | 2 +- .../README.adoc | 4 +- 28 files changed, 167 insertions(+), 161 deletions(-) diff --git a/.settings-template.xml b/.settings-template.xml index ade6fdd3b89..3de4a4c4bf1 100644 --- a/.settings-template.xml +++ b/.settings-template.xml @@ -7,7 +7,7 @@ spring-ext - http://repo.spring.io/ext-release-local/ + https://repo.spring.io/ext-release-local/ true @@ -18,7 +18,7 @@ spring-milestones Spring Milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -26,7 +26,7 @@ spring-snapshots Spring Snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true @@ -54,7 +54,7 @@ spring-milestones Spring Milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -62,7 +62,7 @@ spring-snapshots Spring Snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true @@ -74,7 +74,7 @@ spring-ext - http://repo.spring.io/ext-release-local/ + https://repo.spring.io/ext-release-local/ true @@ -95,7 +95,7 @@ spring-milestones Spring Milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -113,7 +113,7 @@ spring-milestones Spring Milestones - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot false @@ -125,7 +125,7 @@ spring-ext - http://repo.spring.io/ext-release-local/ + https://repo.spring.io/ext-release-local/ true diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index edca11a7fa9..37676f9057d 100755 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -14,8 +14,8 @@ unacceptable behavior to spring-code-of-conduct@pivotal.io. == 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 @@ -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. diff --git a/README.adoc b/README.adoc index 24b57138b87..5acd9ed8374 100755 --- a/README.adoc +++ b/README.adoc @@ -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 @@ -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]. @@ -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. @@ -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 @@ -231,16 +231,16 @@ be built with maven and run by invoking `java -jar target/.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. diff --git a/SUPPORT.adoc b/SUPPORT.adoc index 636846de84e..0395a86aee2 100755 --- a/SUPPORT.adoc +++ b/SUPPORT.adoc @@ -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]. diff --git a/pom.xml b/pom.xml index 9be48b758aa..bd5c7216f7c 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ spring-milestone Spring Milestone - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -89,7 +89,7 @@ spring-snapshot Spring Snapshot - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true @@ -114,7 +114,7 @@ spring-milestone Spring Milestone - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -122,7 +122,7 @@ spring-snapshot Spring Snapshot - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true diff --git a/spring-boot-project/spring-boot-actuator/README.adoc b/spring-boot-project/spring-boot-actuator/README.adoc index 3dd8849d292..d577588c7f3 100644 --- a/spring-boot-project/spring-boot-actuator/README.adoc +++ b/spring-boot-project/spring-boot-actuator/README.adoc @@ -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 diff --git a/spring-boot-project/spring-boot-cli/src/main/homebrew/springboot.rb b/spring-boot-project/spring-boot-cli/src/main/homebrew/springboot.rb index 0e6bf539108..c00225717e8 100644 --- a/spring-boot-project/spring-boot-cli/src/main/homebrew/springboot.rb +++ b/spring-boot-project/spring-boot-cli/src/main/homebrew/springboot.rb @@ -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}' diff --git a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java index d242343b63f..7e0f72da69e 100644 --- a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java +++ b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java @@ -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() { } diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index 1e7dd646d31..ad5d11be48e 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -12,7 +12,7 @@ pom Spring Boot Dependencies Spring Boot Dependencies - http://projects.spring.io/spring-boot/ + https://projects.spring.io/spring-boot/ Apache License, Version 2.0 diff --git a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java index 93265d3e473..4aca28cf778 100644 --- a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java +++ b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java @@ -70,7 +70,7 @@ public class ClassPathFileSystemWatcherTests { Map properties = new HashMap<>(); File folder = this.temp.newFolder(); List 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); diff --git a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java index 873d1ea8c71..ece50e83be6 100644 --- a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java +++ b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java @@ -63,6 +63,12 @@ public class ChangeableUrlsTests { 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"), diff --git a/spring-boot-project/spring-boot-docs/pom.xml b/spring-boot-project/spring-boot-docs/pom.xml index 502c1ccfc38..57b5f031eec 100644 --- a/spring-boot-project/spring-boot-docs/pom.xml +++ b/spring-boot-project/spring-boot-docs/pom.xml @@ -911,11 +911,11 @@ true ${basedir}/src/main/javadoc/spring-javadoc.css - http://docs.oracle.com/javase/8/docs/api/ - http://docs.oracle.com/javaee/7/api/ - http://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/ - http://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/ - http://tomcat.apache.org/tomcat-8.5-doc/api/ + https://docs.oracle.com/javase/8/docs/api/ + https://docs.oracle.com/javaee/7/api/ + https://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/ + https://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/ + https://tomcat.apache.org/tomcat-8.5-doc/api/ http://download.eclipse.org/jetty/stable-9/apidocs/ http://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/ diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc index 07dbb939b92..c6775683c83 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc @@ -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] diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc index 91605a6c83a..4a29dbe0a85 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc @@ -86,11 +86,11 @@ If you use a milestone or snapshot release, you also need to add the appropriate spring-snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot spring-milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone ---- diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/deployment.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/deployment.adoc index 7815887a6d4..e834ed8c62e 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/deployment.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/deployment.adoc @@ -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: @@ -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 @@ -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. @@ -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/... @@ -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`". @@ -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: @@ -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 diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/documentation-overview.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/documentation-overview.adoc index 063076f7438..44af5711b7a 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/documentation-overview.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/documentation-overview.adoc @@ -33,10 +33,10 @@ If you have trouble with Spring Boot, we would like to help. * Try the <>. 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 diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc index 8761ebaa0b3..424a6fa1df2 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -38,7 +38,7 @@ configuration). [[getting-started-system-requirements]] == System Requirements -Spring Boot {spring-boot-version} requires http://www.java.com[Java 8] and +Spring Boot {spring-boot-version} requires https://www.java.com[Java 8] and {spring-reference}[Spring Framework {spring-version}] or above. Explicit build support is provided for Maven 3.2+ and Gradle 4. @@ -68,7 +68,7 @@ You can also deploy Spring Boot applications to any Servlet 3.0+ compatible cont [[getting-started-installing-spring-boot]] == Installing Spring Boot Spring Boot can be used with "`classic`" Java development tools or installed as a command -line tool. Either way, you need http://www.java.com[Java SDK v1.8] or higher. Before you +line tool. Either way, you need https://www.java.com[Java SDK v1.8] or higher. Before you begin, you should check your current Java installation by using the following command: [indent=0] @@ -98,7 +98,7 @@ tool that supports dependency management (such as Maven or Gradle). [[getting-started-maven-installation]] ==== Maven Installation Spring Boot is compatible with Apache Maven 3.2 or above. If you do not already have -Maven installed, you can follow the instructions at http://maven.apache.org. +Maven installed, you can follow the instructions at https://maven.apache.org. TIP: On many operating systems, Maven can be installed with a package manager. If you use OSX Homebrew, try `brew install maven`. Ubuntu users can run @@ -156,22 +156,22 @@ ifeval::["{spring-boot-repo}" != "release"] spring-snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true spring-milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone spring-snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot spring-milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone endif::[] @@ -189,7 +189,7 @@ scope. [[getting-started-gradle-installation]] ==== Gradle Installation Spring Boot is compatible with Gradle 4. If you do not already have Gradle installed, you -can follow the instructions at http://www.gradle.org/. +can follow the instructions at https://gradle.org/. Spring Boot dependencies can be declared by using the `org.springframework.boot` `group`. Typically, your project declares dependencies to one or more @@ -219,8 +219,8 @@ ifeval::["{spring-boot-repo}" != "release"] buildscript { repositories { jcenter() - maven { url 'http://repo.spring.io/snapshot' } - maven { url 'http://repo.spring.io/milestone' } + maven { url 'https://repo.spring.io/snapshot' } + maven { url 'https://repo.spring.io/milestone' } } dependencies { classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}' @@ -240,8 +240,8 @@ endif::[] repositories { jcenter() ifeval::["{spring-boot-repo}" != "release"] - maven { url "http://repo.spring.io/snapshot" } - maven { url "http://repo.spring.io/milestone" } + maven { url "https://repo.spring.io/snapshot" } + maven { url "https://repo.spring.io/milestone" } endif::[] } @@ -268,11 +268,11 @@ quickest way to get a Spring application off the ground. ==== Manual Installation 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] -* 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.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.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 +https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions] are also available. Once downloaded, follow the @@ -367,8 +367,8 @@ Spring Boot CLI by using the following command: [[getting-started-cli-command-line-completion]] ==== Command-line Completion The Spring Boot CLI includes scripts that provide command completion for the -http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and -http://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named +https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and +https://en.wikipedia.org/wiki/Z_shell[zsh] shells. You can `source` the script (also named `spring`) in any shell or put it in your personal or system-wide bash completion initialization. On a Debian system, the system-wide scripts are in `/shell-completion/bash` and all scripts in that directory are executed when a new shell @@ -448,8 +448,8 @@ most IDEs support it. [TIP] ==== -The http://spring.io[spring.io] web site contains many "`Getting Started`" -http://spring.io/guides[guides] that use Spring Boot. If you need to solve a specific +The https://spring.io[spring.io] web site contains many "`Getting Started`" +https://spring.io/guides[guides] that use Spring Boot. If you need to solve a specific problem, check there first. You can shortcut the steps below by going to https://start.spring.io and choosing the @@ -512,22 +512,22 @@ ifeval::["{spring-boot-repo}" != "release"] spring-snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true spring-milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone spring-snapshots - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot spring-milestones - http://repo.spring.io/milestone + https://repo.spring.io/milestone endif::[] @@ -804,12 +804,12 @@ As before, to exit the application, press `ctrl-c`. == What to Read Next Hopefully, this section provided some of the Spring Boot basics and got you on your way to writing your own applications. If you are a task-oriented type of developer, you might -want to jump over to http://spring.io and check out some of the -http://spring.io/guides/[getting started] guides that solve specific "`How do I do that +want to jump over to https://spring.io and check out some of the +https://spring.io/guides/[getting started] guides that solve specific "`How do I do that with Spring?`" problems. We also have Spring Boot-specific "`<>`" reference documentation. -The http://github.com/{github-repo}[Spring Boot repository] also has a +The https://github.com/{github-repo}[Spring Boot repository] also has a {github-code}/spring-boot-samples[bunch of samples] you can run. The samples are independent of the rest of the code (that is, you do not need to build the rest to run or use the samples). diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 3c7e2d63ca6..2afe52008ed 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -8,7 +8,7 @@ that often arise when using Spring Boot. Its coverage is not exhaustive, but it does cover quite a lot. If you have a specific problem that we do not cover here, you might want to check out -http://stackoverflow.com/tags/spring-boot[stackoverflow.com] to see if someone has +https://stackoverflow.com/tags/spring-boot[stackoverflow.com] to see if someone has already provided an answer. This is also a great place to ask new questions (please use the `spring-boot` tag). @@ -363,7 +363,7 @@ token of the `maven-resources-plugins` has been changed from `+${*}+` to `@` (th `@maven.token@` instead of `${maven.token}`) to prevent conflicts with Spring-style placeholders. If you have enabled Maven filtering for the `application.properties` directly, you may want to also change the default filter token to use -http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other +https://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other delimiters]. NOTE: In this specific case, the port binding works in a PaaS environment such as Heroku @@ -779,7 +779,7 @@ operating system. The library folder must be made available, if not already, to the JVM library path. You can do so with a JVM argument such as `-Djava.library.path=/usr/local/opt/tomcat-native/lib`. More on this in the -http://tomcat.apache.org/tomcat-8.5-doc/apr.html[official Tomcat documentation]. +https://tomcat.apache.org/tomcat-8.5-doc/apr.html[official Tomcat documentation]. Starting Tomcat 8.5.x without that native support logs the following error: @@ -2100,7 +2100,7 @@ You can also switch off the initialization explicitly by setting [[howto-use-a-higher-level-database-migration-tool]] === Use a Higher-level Database Migration Tool -Spring Boot supports two higher-level migration tools: http://flywaydb.org/[Flyway] +Spring Boot supports two higher-level migration tools: https://flywaydb.org/[Flyway] and http://www.liquibase.org/[Liquibase]. [[howto-execute-flyway-database-migrations-on-startup]] @@ -2132,7 +2132,7 @@ Boot calls `Flyway.migrate()` to perform the database migration. If you would li more control, provide a `@Bean` that implements {sc-spring-boot-autoconfigure}/flyway/FlywayMigrationStrategy.{sc-ext}[`FlywayMigrationStrategy`]. -Flyway supports SQL and Java http://flywaydb.org/documentation/callbacks.html[callbacks]. +Flyway supports SQL and Java https://flywaydb.org/documentation/callbacks.html[callbacks]. To use SQL-based callbacks, place the callback scripts in the `classpath:db/migration` folder. To use Java-based callbacks, create one or more beans that implement `FlywayCallback` or, preferably, extend `BaseFlywayCallback`. Any such beans are @@ -2339,7 +2339,7 @@ it switches off the default webapp security settings in Spring Boot. If you provide a `@Bean` of type `AuthenticationManager`, `AuthenticationProvider`, or `UserDetailsService`, the default `@Bean` for `InMemoryUserDetailsManager` is not created, so you have the full feature set of Spring Security available (such as -http://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#jc-authentication[various +https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#jc-authentication[various authentication options]). The easiest way to add user accounts is to provide your own `UserDetailsService` bean. @@ -2955,7 +2955,7 @@ a Spring Boot application. To do so, throw away the code that creates your `ApplicationContext` and replace it with calls to `SpringApplication` or `SpringApplicationBuilder`. Spring MVC web applications are generally amenable to first creating a deployable war application and then migrating it later to an executable war -or jar. See the http://spring.io/guides/gs/convert-jar-to-war/[Getting +or jar. See the https://spring.io/guides/gs/convert-jar-to-war/[Getting Started Guide on Converting a jar to a war]. To create a deployable war by extending `SpringBootServletInitializer` (for example, in a diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc index 5583f0ecb38..e8d2db4c69c 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc @@ -10,8 +10,8 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson; :spring-boot-repo: snapshot :github-tag: master :spring-boot-docs-version: current -:spring-boot-docs: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/reference -:spring-boot-docs-current: http://docs.spring.io/spring-boot/docs/current/reference +:spring-boot-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/reference +:spring-boot-docs-current: https://docs.spring.io/spring-boot/docs/current/reference :github-repo: spring-projects/spring-boot :github-raw: https://raw.github.com/{github-repo}/{github-tag} :github-code: https://github.com/{github-repo}/tree/{github-tag} @@ -27,7 +27,7 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson; :sc-spring-boot-test: {github-code}/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test :sc-spring-boot-test-autoconfigure: {github-code}/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure :dc-ext: html -:dc-root: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/api +:dc-root: https://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/api :dc-spring-boot: {dc-root}/org/springframework/boot :dc-spring-boot-autoconfigure: {dc-root}/org/springframework/boot/autoconfigure :dc-spring-boot-actuator: {dc-root}/org/springframework/boot/actuate @@ -35,35 +35,35 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson; :dc-spring-boot-test-autoconfigure: {dc-root}/org/springframework/boot/test/autoconfigure :dependency-management-plugin: https://github.com/spring-gradle-plugins/dependency-management-plugin :dependency-management-plugin-documentation: {dependency-management-plugin}/blob/master/README.md -:spring-boot-actuator-api: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/actuator-api/ -:spring-boot-maven-plugin-site: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/maven-plugin -:spring-boot-gradle-plugin: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/gradle-plugin -:spring-reference: http://docs.spring.io/spring/docs/{spring-docs-version}/spring-framework-reference/ -:spring-rest-docs: http://projects.spring.io/spring-restdocs/ -:spring-integration: http://projects.spring.io/spring-integration/ +:spring-boot-actuator-api: https://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/actuator-api/ +:spring-boot-maven-plugin-site: https://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/maven-plugin +:spring-boot-gradle-plugin: https://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/gradle-plugin +:spring-reference: https://docs.spring.io/spring/docs/{spring-docs-version}/spring-framework-reference/ +:spring-rest-docs: https://projects.spring.io/spring-restdocs/ +:spring-integration: https://projects.spring.io/spring-integration/ :spring-session: https://projects.spring.io/spring-session/ :spring-framework: http://projects.spring.io/spring-framework/ :spring-security: http://projects.spring.io/spring-security/ :spring-data-jpa: http://projects.spring.io/spring-data-jpa/ -:spring-security-reference: http://docs.spring.io/spring-security/site/docs/{spring-security-docs-version}/reference/htmlsingle -:spring-security-oauth2-reference: http://projects.spring.io/spring-security-oauth/docs/oauth2.html -:spring-webservices-reference: http://docs.spring.io/spring-ws/docs/{spring-webservices-docs-version}/reference/ -:spring-javadoc: http://docs.spring.io/spring/docs/{spring-docs-version}/javadoc-api/org/springframework -:spring-amqp-javadoc: http://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp -:spring-batch-javadoc: http://docs.spring.io/spring-batch/apidocs/org/springframework/batch -:spring-data-javadoc: http://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa -:spring-data-commons-javadoc: http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data -:spring-data-mongo-javadoc: http://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb -:spring-data-mongo: http://projects.spring.io/spring-data-mongodb/ -:spring-data: http://projects.spring.io/spring-data/ -:spring-data-rest-javadoc: http://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest -:gradle-userguide: http://www.gradle.org/docs/current/userguide +:spring-security-reference: https://docs.spring.io/spring-security/site/docs/{spring-security-docs-version}/reference/htmlsingle +:spring-security-oauth2-reference: https://projects.spring.io/spring-security-oauth/docs/oauth2.html +:spring-webservices-reference: https://docs.spring.io/spring-ws/docs/{spring-webservices-docs-version}/reference/ +:spring-javadoc: https://docs.spring.io/spring/docs/{spring-docs-version}/javadoc-api/org/springframework +:spring-amqp-javadoc: https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp +:spring-batch-javadoc: https://docs.spring.io/spring-batch/apidocs/org/springframework/batch +:spring-data-javadoc: https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa +:spring-data-commons-javadoc: https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data +:spring-data-mongo-javadoc: https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb +:spring-data-mongo: https://projects.spring.io/spring-data-mongodb/ +:spring-data: https://projects.spring.io/spring-data/ +:spring-data-rest-javadoc: https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest +:gradle-userguide: https://www.gradle.org/docs/current/userguide :propdeps-plugin: https://github.com/spring-projects/gradle-plugins/tree/master/propdeps-plugin :ant-manual: http://ant.apache.org/manual :code-examples: ../java/org/springframework/boot :test-examples: ../../test/java/org/springframework/boot :gradle-user-guide: https://docs.gradle.org/4.2.1/userguide -:hibernate-documentation: http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html +:hibernate-documentation: https://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html :jetty-documentation: https://www.eclipse.org/jetty/documentation/9.4.x :tomcat-documentation: https://tomcat.apache.org/tomcat-8.5-doc // ====================================================================================== diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 3d56a29c284..1dcb23ad9f6 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -464,8 +464,8 @@ The following example remaps `/actuator/health` to `/healthcheck`: [[production-ready-endpoint-cors]] === CORS Support -http://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing] -(CORS) is a http://www.w3.org/TR/cors/[W3C specification] that lets you specify in a +https://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing] +(CORS) is a https://www.w3.org/TR/cors/[W3C specification] that lets you specify in a flexible way what kind of cross-domain requests are authorized. If you use Spring MVC or Spring WebFlux, Actuator's web endpoints can be configured to support such scenarios. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 382faee0b69..955f1e5a7b0 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1383,7 +1383,7 @@ See "<>" for details. Spring Boot uses http://commons.apache.org/logging[Commons Logging] for all internal logging but leaves the underlying log implementation open. Default configurations are provided for -http://docs.oracle.com/javase/8/docs/api/java/util/logging/package-summary.html[Java Util +https://docs.oracle.com/javase/8/docs/api/java/util/logging/package-summary.html[Java Util Logging], http://logging.apache.org/log4j/2.x/[Log4J2], and http://logback.qos.ch/[Logback]. In each case, loggers are pre-configured to use console output with optional file output also available. @@ -1813,7 +1813,7 @@ The following code shows a typical `@RestController` that serves JSON data: Spring MVC is part of the core Spring Framework, and detailed information is available in the {spring-reference}web.html#mvc[reference documentation]. There are also several -guides that cover Spring MVC available at http://spring.io/guides. +guides that cover Spring MVC available at https://spring.io/guides. @@ -2117,10 +2117,10 @@ integrations. Spring Boot includes auto-configuration support for the following templating engines: - * http://freemarker.org/docs/[FreeMarker] + * https://freemarker.org/docs/[FreeMarker] * http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html#_the_markuptemplateengine[Groovy] * http://www.thymeleaf.org[Thymeleaf] - * http://mustache.github.io/[Mustache] + * https://mustache.github.io/[Mustache] TIP: If possible, JSPs should be avoided. There are several <> when using them with embedded @@ -2333,9 +2333,9 @@ described earlier. [[boot-features-cors]] ==== CORS Support -http://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing] +https://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing] (CORS) is a http://www.w3.org/TR/cors/[W3C specification] implemented by -http://caniuse.com/#feat=cors[most browsers] that lets you specify in a flexible +https://caniuse.com/#feat=cors[most browsers] that lets you specify in a flexible way what kind of cross-domain requests are authorized, instead of using some less secure and less powerful approaches such as IFRAME or JSONP. @@ -2373,7 +2373,7 @@ defined by registering a `WebMvcConfigurer` bean with a customized Spring WebFlux is the new reactive web framework introduced in Spring Framework 5.0. Unlike Spring MVC, it does not require the Servlet API, is fully asynchronous and non-blocking, and implements the http://www.reactive-streams.org/[Reactive Streams] -specification through http://projectreactor.io/[the Reactor project]. +specification through https://projectreactor.io/[the Reactor project]. Spring WebFlux comes in two flavors: functional and annotation-based. The annotation-based one is quite close to the Spring MVC model, as shown in the @@ -3358,9 +3358,9 @@ started. It provides the following key dependencies: * Spring ORMs: Core ORM support from the Spring Framework. TIP: We do not go into too many details of JPA or {spring-data}[Spring Data] here. You can -follow the http://spring.io/guides/gs/accessing-data-jpa/["`Accessing Data with JPA`"] -guide from http://spring.io and read the {spring-data-jpa}[Spring Data JPA] and -http://hibernate.org/orm/documentation/[Hibernate] reference documentation. +follow the https://spring.io/guides/gs/accessing-data-jpa/["`Accessing Data with JPA`"] +guide from https://spring.io and read the {spring-data-jpa}[Spring Data JPA] and +https://hibernate.org/orm/documentation/[Hibernate] reference documentation. @@ -3652,19 +3652,19 @@ complete control of the jOOQ configuration. == Working with NoSQL Technologies Spring Data provides additional projects that help you access a variety of NoSQL technologies, including: -http://projects.spring.io/spring-data-mongodb/[MongoDB], -http://projects.spring.io/spring-data-neo4j/[Neo4J], +https://projects.spring.io/spring-data-mongodb/[MongoDB], +https://projects.spring.io/spring-data-neo4j/[Neo4J], https://github.com/spring-projects/spring-data-elasticsearch/[Elasticsearch], -http://projects.spring.io/spring-data-solr/[Solr], -http://projects.spring.io/spring-data-redis/[Redis], -http://projects.spring.io/spring-data-gemfire/[Gemfire], -http://projects.spring.io/spring-data-cassandra/[Cassandra], -http://projects.spring.io/spring-data-couchbase/[Couchbase] and -http://projects.spring.io/spring-data-ldap/[LDAP]. +https://projects.spring.io/spring-data-solr/[Solr], +https://projects.spring.io/spring-data-redis/[Redis], +https://projects.spring.io/spring-data-gemfire/[Gemfire], +https://projects.spring.io/spring-data-cassandra/[Cassandra], +https://projects.spring.io/spring-data-couchbase/[Couchbase] and +https://projects.spring.io/spring-data-ldap/[LDAP]. Spring Boot provides auto-configuration for Redis, MongoDB, Neo4j, Elasticsearch, Solr Cassandra, Couchbase, and LDAP. You can make use of the other projects, but you must configure them yourself. Refer to the appropriate reference documentation at -http://projects.spring.io/spring-data[projects.spring.io/spring-data]. +https://projects.spring.io/spring-data[projects.spring.io/spring-data]. @@ -3861,7 +3861,7 @@ in the following example: TIP: You can customize document scanning locations by using the `@EntityScan` annotation. TIP: For complete details of Spring Data MongoDB, including its rich object mapping -technologies, refer to its http://projects.spring.io/spring-data-mongodb/[reference +technologies, refer to its https://projects.spring.io/spring-data-mongodb/[reference documentation]. @@ -4016,7 +4016,7 @@ The following example shows an interface definition for a Neo4j repository: ---- TIP: For complete details of Spring Data Neo4j, including its rich object mapping -technologies, refer to the http://projects.spring.io/spring-data-neo4j/[reference +technologies, refer to the https://projects.spring.io/spring-data-neo4j/[reference documentation]. @@ -4025,7 +4025,7 @@ documentation]. === Gemfire https://github.com/spring-projects/spring-data-gemfire[Spring Data Gemfire] provides convenient Spring-friendly tools for accessing the -http://pivotal.io/big-data/pivotal-gemfire#details[Pivotal Gemfire] data management +https://pivotal.io/big-data/pivotal-gemfire#details[Pivotal Gemfire] data management platform. There is a `spring-boot-starter-data-gemfire` "`Starter`" for collecting the dependencies in a convenient way. There is currently no auto-configuration support for Gemfire, but you can enable Spring Data Repositories with a @@ -4080,7 +4080,7 @@ You could take the JPA example from earlier and, assuming that `City` is now a `@SolrDocument` class rather than a JPA `@Entity`, it works in the same way. TIP: For complete details of Spring Data Solr, refer to the -http://projects.spring.io/spring-data-solr/[reference documentation]. +https://projects.spring.io/spring-data-solr/[reference documentation]. @@ -4169,7 +4169,7 @@ now an Elasticsearch `@Document` class rather than a JPA `@Entity`, it works in way. TIP: For complete details of Spring Data Elasticsearch, refer to the -http://docs.spring.io/spring-data/elasticsearch/docs/[reference documentation]. +https://docs.spring.io/spring-data/elasticsearch/docs/[reference documentation]. @@ -4227,7 +4227,7 @@ limited than the JPA repositories discussed earlier and needs to annotate finder with `@Query`. TIP: For complete details of Spring Data Cassandra, refer to the -http://docs.spring.io/spring-data/cassandra/docs/[reference documentation]. +https://docs.spring.io/spring-data/cassandra/docs/[reference documentation]. @@ -4283,7 +4283,7 @@ Check the `spring.couchbase.env.*` properties for more details. ==== Spring Data Couchbase Repositories Spring Data includes repository support for Couchbase. For complete details of Spring Data Couchbase, refer to the -http://docs.spring.io/spring-data/couchbase/docs/current/reference/html/[reference +https://docs.spring.io/spring-data/couchbase/docs/current/reference/html/[reference documentation]. You can inject an auto-configured `CouchbaseTemplate` instance as you would with any @@ -4379,7 +4379,7 @@ If you need to customize connection settings, you can use the `spring.ldap.base` ==== Spring Data LDAP Repositories Spring Data includes repository support for LDAP. For complete details of Spring Data LDAP, refer to the -http://docs.spring.io/spring-data/ldap/docs/1.0.x/reference/html/[reference +https://docs.spring.io/spring-data/ldap/docs/1.0.x/reference/html/[reference documentation]. You can also inject an auto-configured `LdapTemplate` instance as you would with any @@ -5087,7 +5087,7 @@ See {sc-spring-boot-autoconfigure}/amqp/RabbitProperties.{sc-ext}[`RabbitPropert for more of the supported options. TIP: See -http://spring.io/blog/2010/06/14/understanding-amqp-the-protocol-used-by-rabbitmq/[Understanding +https://spring.io/blog/2010/06/14/understanding-amqp-the-protocol-used-by-rabbitmq/[Understanding AMQP, the protocol used by RabbitMQ] for more details. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 0ccf63ce6e3..9ade577be49 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -63,7 +63,7 @@ https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html[res filtering]. * Sensible plugin configuration (http://www.mojohaus.org/exec-maven-plugin/[exec plugin], https://github.com/ktoso/maven-git-commit-id-plugin[Git commit ID], and -http://maven.apache.org/plugins/maven-shade-plugin/[shade]). +https://maven.apache.org/plugins/maven-shade-plugin/[shade]). * Sensible resource filtering for `application.properties` and `application.yml` including profile-specific files (for example, `application-dev.properties` and `application-dev.yml`) @@ -600,8 +600,8 @@ users can select `Import...` -> `Existing Maven Projects` from the `File` menu. If you cannot directly import your project into your IDE, you may be able to generate IDE metadata by using a build plugin. Maven includes plugins for -http://maven.apache.org/plugins/maven-eclipse-plugin/[Eclipse] and -http://maven.apache.org/plugins/maven-idea-plugin/[IDEA]. Gradle offers plugins for +https://maven.apache.org/plugins/maven-eclipse-plugin/[Eclipse] and +https://maven.apache.org/plugins/maven-idea-plugin/[IDEA]. Gradle offers plugins for {gradle-user-guide}/userguide.html[various IDEs]. TIP: If you accidentally run a web application twice, you see a "`Port already in use`" @@ -679,7 +679,7 @@ shown in the following example: Since Spring Boot applications are just plain Java applications, JVM hot-swapping should work out of the box. JVM hot swapping is somewhat limited with the bytecode that it can replace. For a more complete solution, -http://zeroturnaround.com/software/jrebel/[JRebel] can be used. +https://zeroturnaround.com/software/jrebel/[JRebel] can be used. The `spring-boot-devtools` module also includes support for quick application restarts. @@ -810,7 +810,7 @@ populated. If you find that restarts are not quick enough for your applications or you encounter classloading issues, you could consider reloading technologies such as -http://zeroturnaround.com/software/jrebel/[JRebel] from ZeroTurnaround. These work by +https://zeroturnaround.com/software/jrebel/[JRebel] from ZeroTurnaround. These work by rewriting classes as they are loaded to make them more amenable to reloading. **** @@ -948,7 +948,7 @@ authors. The `spring-boot-devtools` module includes an embedded LiveReload server that can be used to trigger a browser refresh when a resource is changed. LiveReload browser extensions are freely available for Chrome, Firefox and Safari from -http://livereload.com/extensions/[livereload.com]. +https://livereload.com/extensions/[livereload.com]. If you do not want to start the LiveReload server when your application runs, you can set the `spring.devtools.livereload.enabled` property to `false`. diff --git a/spring-boot-project/spring-boot-starters/README.adoc b/spring-boot-project/spring-boot-starters/README.adoc index f83a097bc88..7dea7fab083 100644 --- a/spring-boot-project/spring-boot-starters/README.adoc +++ b/spring-boot-project/spring-boot-starters/README.adoc @@ -8,14 +8,14 @@ JPA for database access just include the `spring-boot-starter-data-jpa` dependen your project, and you are good to go. For complete details see the -http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation] +https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation] == Community Contributions If you create a starter for a technology that is not already in the standard list we can list it here. Just send a pull request for this page. WARNING: While the -http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation] +https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation] mentions that 3rd party starters should not start with `spring-boot`, some starters do as they were designed before this was clarified. @@ -145,7 +145,7 @@ do as they were designed before this was clarified. | http://restfb.com/[RestFB] Messenger | https://github.com/marsbits/restfbmessenger -| http://projects.spring.io/spring-batch/[Spring Batch] (Advanced usage) +| https://projects.spring.io/spring-batch/[Spring Batch] (Advanced usage) | https://github.com/codecentric/spring-boot-starter-batch-web | SSH Daemon diff --git a/spring-boot-project/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml b/spring-boot-project/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml index 72631b8ba83..fb484496f5f 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml +++ b/spring-boot-project/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml @@ -8,9 +8,9 @@ - - - + + + diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc index 14d0e5fb357..47b602b5cec 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc @@ -9,7 +9,7 @@ Andy Wilkinson :hide-uri-scheme: :dependency-management-plugin: https://github.com/spring-gradle-plugins/dependency-management-plugin :dependency-management-plugin-documentation: {dependency-management-plugin}/blob/master/README.md -:gradle-userguide: http://www.gradle.org/docs/current/userguide +:gradle-userguide: https://docs.gradle.org/current/userguide :gradle-dsl: https://docs.gradle.org/current/dsl :application-plugin: {gradle-userguide}/application_plugin.html :groovy-plugin: {gradle-userguide}/groovy_plugin.html diff --git a/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml b/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml index 4127a506e8c..a96e5a5c7fb 100644 --- a/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml +++ b/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml @@ -8,9 +8,9 @@ - - - + + + diff --git a/spring-boot-samples/spring-boot-sample-data-neo4j/README.adoc b/spring-boot-samples/spring-boot-sample-data-neo4j/README.adoc index 60c402ac578..9e7d37cb247 100644 --- a/spring-boot-samples/spring-boot-sample-data-neo4j/README.adoc +++ b/spring-boot-samples/spring-boot-sample-data-neo4j/README.adoc @@ -12,5 +12,5 @@ spring.data.neo4j.password=secret You can also locally add the embedded driver to embed Neo4j instead. Note that Spring Boot does not provide dependency management for that GPL-licensed library, see -http://docs.spring.io/spring-data/neo4j/docs/4.2.x/reference/html/#reference.getting_started.driver[the official documentation] +https://docs.spring.io/spring-data/neo4j/docs/4.2.x/reference/html/#reference.getting_started.driver[the official documentation] for more details. diff --git a/spring-boot-samples/spring-boot-sample-webservices/README.adoc b/spring-boot-samples/spring-boot-sample-webservices/README.adoc index 9fab87f6b09..9acfd45e2d6 100644 --- a/spring-boot-samples/spring-boot-sample-webservices/README.adoc +++ b/spring-boot-samples/spring-boot-sample-webservices/README.adoc @@ -1,8 +1,8 @@ == Spring Boot - Samples - Web Services -This sample project demonstrates how to use http://projects.spring.io/spring-ws/[Spring Web Services] +This sample project demonstrates how to use https://projects.spring.io/spring-ws/[Spring Web Services] with Spring Boot. It is an implementation of the -http://docs.spring.io/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint[Holiday Request sample] +https://docs.spring.io/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint[Holiday Request sample] in the Spring Web Services reference guide. The sample uses Maven. It can be built and run from the command line: