From ddf8c8dd9137048be3cdc4c4a29c61f74562f748 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Tue, 5 Mar 2019 23:44:24 -0600 Subject: [PATCH] URL Cleanup This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * http://services.gradle.org/distributions/gradle- (404) migrated to: https://services.gradle.org/distributions/gradle- ([https](https://services.gradle.org/distributions/gradle-) result 404). ## Fixed Success These URLs were fixed successfully. * http://springsource.org (301) migrated to: https://spring.io ([https](https://springsource.org) result 200). * http://www.apache.org/licenses/LICENSE-2.0.txt migrated to: https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200). * http://repo.spring.io/libs-milestone migrated to: https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302). * http://repo.spring.io/plugins-release migrated to: https://repo.spring.io/plugins-release ([https](https://repo.spring.io/plugins-release) result 302). --- build.gradle | 6 +++--- publish-maven.gradle | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 00500fa..401d5d0 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ description = 'Spring Integration Splunk Support' buildscript { repositories { - maven { url 'http://repo.spring.io/plugins-release' } + maven { url 'https://repo.spring.io/plugins-release' } } dependencies { classpath 'io.spring.gradle:docbook-reference-plugin:0.3.1' @@ -31,7 +31,7 @@ if (project.hasProperty('platformVersion')) { group = 'org.springframework.integration' repositories { - maven { url 'http://repo.spring.io/libs-milestone' } + maven { url 'https://repo.spring.io/libs-milestone' } if (project.hasProperty('platformVersion')) { maven { url 'https://repo.spring.io/snapshot' } } @@ -276,5 +276,5 @@ task dist(dependsOn: assemble) { task wrapper(type: Wrapper) { description = 'Generates gradlew[.bat] scripts' gradleVersion = '2.5' - distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip" + distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip" } diff --git a/publish-maven.gradle b/publish-maven.gradle index d61474b..7857e23 100644 --- a/publish-maven.gradle +++ b/publish-maven.gradle @@ -33,12 +33,12 @@ def customizePom(pom, gradleProject) { url = 'https://github.com/SpringSource/spring-integration-extensions' organization { name = 'SpringSource' - url = 'http://springsource.org' + url = 'https://spring.io' } licenses { license { name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + url 'https://www.apache.org/licenses/LICENSE-2.0.txt' distribution 'repo' } }