Skip to content

Commit 5938742

Browse files
Spring Operatorsbrannen
Spring Operator
authored andcommitted
URL Cleanup (#22515)
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 fixed successfully. * http://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ migrated to: https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ([https](https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/) result 200). * http://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ migrated to: https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ([https](https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/) result 200). * http://docs.oracle.com/javaee/7/api/ migrated to: https://docs.oracle.com/javaee/7/api/ ([https](https://docs.oracle.com/javaee/7/api/) result 200). * 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://fasterxml.github.io/jackson-core/javadoc/2.9/ migrated to: https://fasterxml.github.io/jackson-core/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-core/javadoc/2.9/) result 200). * http://fasterxml.github.io/jackson-databind/javadoc/2.9/ migrated to: https://fasterxml.github.io/jackson-databind/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.9/) result 200). * http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ migrated to: https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/) result 200). * http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ migrated to: https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/) result 200). * http://issues.gradle.org/browse/GRADLE-1116 migrated to: https://issues.gradle.org/browse/GRADLE-1116 ([https](https://issues.gradle.org/browse/GRADLE-1116) result 200). * http://projectreactor.io/docs/core/release/api/ migrated to: https://projectreactor.io/docs/core/release/api/ ([https](https://projectreactor.io/docs/core/release/api/) result 200). * http://tiles.apache.org/framework/apidocs/ migrated to: https://tiles.apache.org/framework/apidocs/ ([https](https://tiles.apache.org/framework/apidocs/) result 200). * http://tiles.apache.org/tiles-request/apidocs/ migrated to: https://tiles.apache.org/tiles-request/apidocs/ ([https](https://tiles.apache.org/tiles-request/apidocs/) result 200). * http://www.apache.org/licenses/LICENSE-2.0 migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). * http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ migrated to: https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ([https](https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/) result 200). * http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ migrated to: https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/) result 200). * http://docs.spring.io/spring-framework/docs migrated to: https://docs.spring.io/spring-framework/docs ([https](https://docs.spring.io/spring-framework/docs) result 301). * http://glassfish.java.net/nonav/docs/v3/api/ migrated to: https://glassfish.java.net/nonav/docs/v3/api/ ([https](https://glassfish.java.net/nonav/docs/v3/api/) result 301). * http://projects.spring.io/spring-framework migrated to: https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework) result 301). * http://springframework.org/schema migrated to: https://springframework.org/schema ([https](https://springframework.org/schema) result 301). * http://ehcache.org/apidocs/2.10.4 (301) migrated to: https://www.ehcache.org/apidocs/2.10.4 ([https](https://ehcache.org/apidocs/2.10.4) result 301).
1 parent 18f2e6a commit 5938742

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

build.gradle

+13-13
Original file line numberDiff line numberDiff line change
@@ -171,22 +171,22 @@ configure(allprojects) { project ->
171171
}
172172

173173
ext.javadocLinks = [
174-
"http://docs.oracle.com/javase/8/docs/api/",
175-
"http://docs.oracle.com/javaee/7/api/",
174+
"https://docs.oracle.com/javase/8/docs/api/",
175+
"https://docs.oracle.com/javaee/7/api/",
176176
"https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/", // CommonJ
177177
"https://www.ibm.com/support/knowledgecenter/SS7JFU_8.5.5/com.ibm.websphere.javadoc.doc/web/apidocs/",
178-
"http://glassfish.java.net/nonav/docs/v3/api/",
179-
"http://docs.jboss.org/jbossas/javadoc/4.0.5/connector/",
180-
"http://docs.jboss.org/jbossas/javadoc/7.1.2.Final/",
181-
"http://tiles.apache.org/tiles-request/apidocs/",
182-
"http://tiles.apache.org/framework/apidocs/",
183-
"http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/",
184-
"http://ehcache.org/apidocs/2.10.4",
178+
"https://glassfish.java.net/nonav/docs/v3/api/",
179+
"https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/",
180+
"https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/",
181+
"https://tiles.apache.org/tiles-request/apidocs/",
182+
"https://tiles.apache.org/framework/apidocs/",
183+
"https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/",
184+
"https://www.ehcache.org/apidocs/2.10.4",
185185
"https://www.quartz-scheduler.org/api/${quartzVersion}/package-list?",
186-
"http://fasterxml.github.io/jackson-core/javadoc/2.9/",
187-
"http://fasterxml.github.io/jackson-databind/javadoc/2.9/",
188-
"http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/",
189-
"http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/",
186+
"https://fasterxml.github.io/jackson-core/javadoc/2.9/",
187+
"https://fasterxml.github.io/jackson-databind/javadoc/2.9/",
188+
"https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/",
189+
"https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/",
190190
"https://junit.org/junit4/javadoc/4.12/",
191191
"https://junit.org/junit5/docs/${junit5Version}/api/"
192192
] as String[]

gradle/docs.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -72,10 +72,10 @@ dokka {
7272
packageListUrl = new File(buildDir, "api/package-list").toURI().toURL()
7373
}
7474
externalDocumentationLink {
75-
url = new URL("http://projectreactor.io/docs/core/release/api/")
75+
url = new URL("https://projectreactor.io/docs/core/release/api/")
7676
}
7777
externalDocumentationLink {
78-
url = new URL("http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/")
78+
url = new URL("https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/")
7979
}
8080
}
8181

@@ -137,7 +137,7 @@ task docsZip(type: Zip, dependsOn: ['api', 'asciidoctor', 'dokka']) {
137137
baseName = "spring-framework"
138138
classifier = "docs"
139139
description = "Builds -${classifier} archive containing api and reference " +
140-
"for deployment at http://docs.spring.io/spring-framework/docs."
140+
"for deployment at https://docs.spring.io/spring-framework/docs."
141141

142142
from("src/dist") {
143143
include "changelog.txt"
@@ -165,7 +165,7 @@ task schemaZip(type: Zip) {
165165
baseName = "spring-framework"
166166
classifier = "schema"
167167
description = "Builds -${classifier} archive containing all " +
168-
"XSDs for deployment at http://springframework.org/schema."
168+
"XSDs for deployment at https://springframework.org/schema."
169169
duplicatesStrategy 'exclude'
170170
moduleProjects.each { subproject ->
171171
def Properties schemas = new Properties();

gradle/ide.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ eclipse.jdt {
1111
}
1212

1313
// Replace classpath entries with project dependencies (GRADLE-1116)
14-
// http://issues.gradle.org/browse/GRADLE-1116
14+
// https://issues.gradle.org/browse/GRADLE-1116
1515
eclipse.classpath.file.whenMerged { classpath ->
1616
def regexp = /.*?\/([^\/]+)\/build\/([^\/]+\/)+(?:main|test)/ // only match those that end in main or test (avoids removing necessary entries like build/classes/jaxb)
1717
def projectOutputDependencies = classpath.entries.findAll { entry -> entry.path =~ regexp }

gradle/publish-maven.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def customizePom(pom, gradleProject) {
3030
url = "https://github.com/spring-projects/spring-framework"
3131
organization {
3232
name = "Spring IO"
33-
url = "http://projects.spring.io/spring-framework"
33+
url = "https://projects.spring.io/spring-framework"
3434
}
3535
licenses {
3636
license {
3737
name "Apache License, Version 2.0"
38-
url "http://www.apache.org/licenses/LICENSE-2.0"
38+
url "https://www.apache.org/licenses/LICENSE-2.0"
3939
distribution "repo"
4040
}
4141
}

0 commit comments

Comments
 (0)