From 304f55aa0ce46bbef5352035f77fc44704cc6689 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Sat, 16 Mar 2019 11:14:28 -0500 Subject: [PATCH] SGF-827 - 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). 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://www.gemstone.com/docs/6.5.1/product/docs/japi/ (ConnectTimeoutException) with 1 occurrences migrated to: https://www.gemstone.com/docs/6.5.1/product/docs/japi/ ([https](https://www.gemstone.com/docs/6.5.1/product/docs/japi/) result ConnectTimeoutException). * http://atinject.googlecode.com/svn/trunk/javadoc/ (404) with 1 occurrences migrated to: https://atinject.googlecode.com/svn/trunk/javadoc/ ([https](https://atinject.googlecode.com/svn/trunk/javadoc/) result 404). * http://logging.apache.org/log4j/docs/api/ (404) with 1 occurrences migrated to: https://logging.apache.org/log4j/docs/api/ ([https](https://logging.apache.org/log4j/docs/api/) result 404). These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to: https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200). * http://www.apache.org/licenses/LICENSE-2.0.txt with 1 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200). * http://asm.objectweb.org/asm223/javadoc/user (301) with 1 occurrences migrated to: https://asm.ow2.org/asm223/javadoc/user ([https](https://asm.objectweb.org/asm223/javadoc/user) result 301). * http://static.springframework.org/spring/docs/3.1.x/javadoc-api (301) with 1 occurrences migrated to: https://docs.spring.io/spring/docs/3.1.x/javadoc-api ([https](https://static.springframework.org/spring/docs/3.1.x/javadoc-api) result 301). * http://github.com/SpringSource/spring-gemfire with 2 occurrences migrated to: https://github.com/SpringSource/spring-gemfire ([https](https://github.com/SpringSource/spring-gemfire) result 301). * http://repo.springsource.org/libs-snapshot with 1 occurrences migrated to: https://repo.springsource.org/libs-snapshot ([https](https://repo.springsource.org/libs-snapshot) result 301). * http://www.springsource.org/spring-gemfire with 1 occurrences migrated to: https://www.springsource.org/spring-gemfire ([https](https://www.springsource.org/spring-gemfire) result 301). * http://download.oracle.com/javase/6/docs/api with 1 occurrences migrated to: https://download.oracle.com/javase/6/docs/api ([https](https://download.oracle.com/javase/6/docs/api) result 302). These URLs were intentionally ignored. * http://maven.apache.org/POM/4.0.0 with 2 occurrences * http://www.w3.org/2001/XMLSchema-instance with 1 occurrences Resolves gh-101. --- build.gradle | 12 ++++++------ maven.gradle | 8 ++++---- pom.xml | 2 +- samples/hello-world/build.gradle | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 632c2110..d75f01e7 100644 --- a/build.gradle +++ b/build.gradle @@ -134,12 +134,12 @@ javadoc { ] links = [ - "http://static.springframework.org/spring/docs/3.1.x/javadoc-api", - "http://download.oracle.com/javase/6/docs/api", - "http://www.gemstone.com/docs/6.5.1/product/docs/japi/", - "http://asm.objectweb.org/asm223/javadoc/user", - "http://logging.apache.org/log4j/docs/api/", - "http://atinject.googlecode.com/svn/trunk/javadoc/" + "https://docs.spring.io/spring/docs/3.1.x/javadoc-api", + "https://download.oracle.com/javase/6/docs/api", + "https://www.gemstone.com/docs/6.5.1/product/docs/japi/", + "https://asm.ow2.org/asm223/javadoc/user", + "https://logging.apache.org/log4j/docs/api/", + "https://atinject.googlecode.com/svn/trunk/javadoc/" ] exclude "org/springframework/data/gemfire/config/**" diff --git a/maven.gradle b/maven.gradle index a6ee43c6..dd074b44 100644 --- a/maven.gradle +++ b/maven.gradle @@ -31,20 +31,20 @@ def customizePom(pom, gradleProject) { generatedPom.project { name = gradleProject.description description = gradleProject.description - url = 'http://github.com/SpringSource/spring-gemfire' + url = 'https://github.com/SpringSource/spring-gemfire' organization { name = 'SpringSource' - url = 'http://www.springsource.org/spring-gemfire' + url = 'https://www.springsource.org/spring-gemfire' } 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' } } scm { - url = 'http://github.com/SpringSource/spring-gemfire' + url = 'https://github.com/SpringSource/spring-gemfire' connection = 'scm:git:git://github.com/SpringSource/spring-gemfire' developerConnection = 'scm:git:git://github.com/SpringSource/spring-gemfire' } diff --git a/pom.xml b/pom.xml index 910ba8bf..46b5989b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@ - + 4.0.0 diff --git a/samples/hello-world/build.gradle b/samples/hello-world/build.gradle index 789093dc..a1ecdd7b 100644 --- a/samples/hello-world/build.gradle +++ b/samples/hello-world/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'application' repositories { // Public Spring artefacts - maven { url "http://repo.springsource.org/libs-snapshot" } + maven { url "https://repo.springsource.org/libs-snapshot" } mavenLocal() }