Skip to content

Commit

Permalink
URL Cleanup
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 migrated to:  
  https://github.com/reactor ([https](https://github.com/reactor) 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://projectreactor.io/docs/test/release/api/ 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 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 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/ 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 migrated to:  
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot migrated to:  
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) 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).

Reviewed in reactor#1554
  • Loading branch information
Spring Operator authored and simonbasle committed Mar 12, 2019
1 parent 1f1dd63 commit 6d84fe4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 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 @@ -18,7 +18,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 @@ -69,7 +69,7 @@ ext {
}

javadocLinks = [jdkJavadoc,
"http://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/"] as String[]
"https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/"] as String[]


bundleImportPackages = ['org.slf4j;resolution:=optional;version="[1.5.4,2)"',
Expand Down Expand Up @@ -107,12 +107,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
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
6 changes: 3 additions & 3 deletions reactor-core/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 Down Expand Up @@ -164,10 +164,10 @@ task dokka(type: org.jetbrains.dokka.gradle.DokkaTask) {
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
10 changes: 5 additions & 5 deletions reactor-test/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 Down Expand Up @@ -62,7 +62,7 @@ javadoc {
options.header = "$project.name"
options.stylesheetFile = file("$rootDir/docs/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 @@ -100,13 +100,13 @@ task dokka(type: org.jetbrains.dokka.gradle.DokkaTask) {
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 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 6d84fe4

Please sign in to comment.