Skip to content

Commit

Permalink
URL Cleanup (reactor#1564)
Browse files Browse the repository at this point in the history
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://github.com/reactor with 1 occurrences migrated to:  
  https://github.com/reactor ([https](https://github.com/reactor) result 200).
* http://projectreactor.io/docs/core/release/api/ with 3 occurrences migrated to:  
  https://projectreactor.io/docs/core/release/api/ ([https](https://projectreactor.io/docs/core/release/api/) result 200).
* http://projectreactor.io/docs/test/release/api/ with 1 occurrences migrated to:  
  https://projectreactor.io/docs/test/release/api/ ([https](https://projectreactor.io/docs/test/release/api/) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 4 occurrences migrated to:  
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) 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://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/ with 3 occurrences migrated to:  
  https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/ ([https](https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/) result 200).
* http://repo.spring.io/libs-milestone with 1 occurrences migrated to:  
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot with 1 occurrences migrated to:  
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* http://repo.spring.io/plugins-release with 1 occurrences migrated to:  
  https://repo.spring.io/plugins-release ([https](https://repo.spring.io/plugins-release) result 302).
  • Loading branch information
Spring Operator authored and simonbasle committed Mar 20, 2019
1 parent 7069971 commit 50db4da
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -19,7 +19,7 @@ import org.gradle.api.internal.plugins.osgi.OsgiHelper
buildscript {
ext.kotlinVersion = '1.2.51'
repositories {
maven { url "http://repo.spring.io/plugins-release" }
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
Expand Down Expand Up @@ -60,7 +60,7 @@ ext {

javadocLinks = ["https://docs.oracle.com/javase/8/docs/api/",
"https://docs.oracle.com/javaee/6/api/",
"http://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/"] as
"https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/"] as
String[]


Expand Down Expand Up @@ -98,12 +98,12 @@ configure(subprojects) { p ->
repositories {
mavenLocal()
if (version.endsWith('BUILD-SNAPSHOT') || project.hasProperty('platformVersion')) {
maven { url 'http://repo.spring.io/libs-snapshot' }
maven { url 'https://repo.spring.io/libs-snapshot' }
}

mavenCentral()
jcenter()
maven { url 'http://repo.spring.io/libs-milestone' }
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }

}
Expand Down Expand Up @@ -326,10 +326,10 @@ project('reactor-core') {
sourceDirs = files("src/main/kotlin")

externalDocumentationLink {
url = new URL("http://projectreactor.io/docs/core/release/api/")
url = new URL("https://projectreactor.io/docs/core/release/api/")
}
externalDocumentationLink {
url = new URL("http://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/")
url = new URL("https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/")
}
}

Expand Down Expand Up @@ -457,7 +457,7 @@ project('reactor-test') {
options.header = "$project.name"
options.stylesheetFile = file("$rootDir/src/api/stylesheet.css")
options.links(rootProject.ext.javadocLinks
.plus("http://projectreactor.io/docs/core/release/api/") as String[])
.plus("https://projectreactor.io/docs/core/release/api/") as String[])
options.tags = [ "apiNote:a:API Note:", "implSpec:a:Implementation Requirements:",
"implNote:a:Implementation Note:" ]

Expand Down Expand Up @@ -495,13 +495,13 @@ project('reactor-test') {
sourceDirs = files("src/main/kotlin")

externalDocumentationLink {
url = new URL("http://projectreactor.io/docs/core/release/api/")
url = new URL("https://projectreactor.io/docs/core/release/api/")
}
externalDocumentationLink {
url = new URL("http://projectreactor.io/docs/test/release/api/")
url = new URL("https://projectreactor.io/docs/test/release/api/")
}
externalDocumentationLink {
url = new URL("http://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/")
url = new URL("https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/")
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/doc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions gradle/setup.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -70,12 +70,12 @@ def customizePom(pom, gradleProject) {
url = 'https://github.com/reactor/reactor-core'
organization {
name = 'reactor'
url = 'http://github.com/reactor'
url = 'https://github.com/reactor'
}
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'
}
}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down

0 comments on commit 50db4da

Please sign in to comment.