From fc9403e4343c7b9858ef404a217368db56fb7e97 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Mon, 11 Mar 2019 12:39:14 -0500 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 Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * http://docs.oracle.com/javase/8/docs/api/ migrated to: https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/) result 200). * http://docs.spring.io/spring-amqp/docs/latest-ga/api/ migrated to: https://docs.spring.io/spring-amqp/docs/latest-ga/api/ ([https](https://docs.spring.io/spring-amqp/docs/latest-ga/api/) result 200). * http://docs.spring.io/spring-data/data-mongo/docs/current/api/ migrated to: https://docs.spring.io/spring-data/data-mongo/docs/current/api/ ([https](https://docs.spring.io/spring-data/data-mongo/docs/current/api/) result 200). * http://docs.spring.io/spring-data/data-redis/docs/current/api/ migrated to: https://docs.spring.io/spring-data/data-redis/docs/current/api/ ([https](https://docs.spring.io/spring-data/data-redis/docs/current/api/) result 200). * http://docs.spring.io/spring/docs/current/javadoc-api/ migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring/docs/current/javadoc-api/) 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://projects.spring.io/spring-cloud migrated to: https://projects.spring.io/spring-cloud ([https](https://projects.spring.io/spring-cloud) result 301). --- build.gradle | 10 +++++----- publish-maven.gradle | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 5024f539..82c4c33a 100644 --- a/build.gradle +++ b/build.gradle @@ -20,11 +20,11 @@ ext { mockitoVersion = "2.7.22" javadocLinks = [ - 'http://docs.oracle.com/javase/8/docs/api/', - 'http://docs.spring.io/spring/docs/current/javadoc-api/', - 'http://docs.spring.io/spring-amqp/docs/latest-ga/api/', - 'http://docs.spring.io/spring-data/data-mongo/docs/current/api/', - 'http://docs.spring.io/spring-data/data-redis/docs/current/api/' + 'https://docs.oracle.com/javase/8/docs/api/', + 'https://docs.spring.io/spring/docs/current/javadoc-api/', + 'https://docs.spring.io/spring-amqp/docs/latest-ga/api/', + 'https://docs.spring.io/spring-data/data-mongo/docs/current/api/', + 'https://docs.spring.io/spring-data/data-redis/docs/current/api/' ] as String[] } diff --git a/publish-maven.gradle b/publish-maven.gradle index fd8f64d9..34d8aa85 100644 --- a/publish-maven.gradle +++ b/publish-maven.gradle @@ -22,7 +22,7 @@ def customizePom(pom, gradleProject) { generatedPom.project { name = gradleProject.description description = gradleProject.description - url = 'http://projects.spring.io/spring-cloud' + url = 'https://projects.spring.io/spring-cloud' organization { name = 'Spring IO' url = 'https://spring.io' @@ -30,7 +30,7 @@ def customizePom(pom, gradleProject) { 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' } }