Skip to content

Commit

Permalink
Use HTTPS
Browse files Browse the repository at this point in the history
#MavenCentral Update 🚨 - Starting today (January 15, 2020),
The Central Repository will no longer support communication
over HTTP. Learn more ➡ http://bit.ly/393iGYl

https://twitter.com/sonatype/status/1217535465005441024
  • Loading branch information
sormuras committed Jan 15, 2020
1 parent 81a88b1 commit 70a9466
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion junit5-jupiter-starter-ant/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tar --extract -z --exclude "${ant_folder}/manual" --file "${ant_archive}"
#
# Load and store junit-platform-console-standalone jar into ${ANT_HOME}/lib.
#
(cd "${ant_folder}/lib" && curl --remote-name "http://central.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/${junit_platform_version}/junit-platform-console-standalone-${junit_platform_version}.jar")

This comment has been minimized.

Copy link
@JLLeitschuh

JLLeitschuh Jan 16, 2020

Contributor

😱 How could you!!

This comment has been minimized.

Copy link
@sormuras

sormuras Jan 16, 2020

Author Member

Was young and needed the 💰?

(cd "${ant_folder}/lib" && curl --remote-name "https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/${junit_platform_version}/junit-platform-console-standalone-${junit_platform_version}.jar")

#
# Finally, let Ant do its work...
Expand Down
2 changes: 1 addition & 1 deletion junit5-modular-world/BUILDING
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Path get(String directory, URI uri) throws Exception {
}

Path get(String directory, String group, String artifact, String version) throws Exception {
String repo = "http://central.maven.org/maven2";
String repo = "https://repo1.maven.org/maven2";
String file = artifact + "-" + version + ".jar";
URI uri = URI.create(String.join("/", repo, group.replace('.', '/'), artifact, version, file));
return get(directory, uri);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* http://www.eclipse.org/legal/epl-v20.html
*/

/** @see http://openjdk.java.net/jeps/330 */
/** @see https://openjdk.java.net/jeps/330 */
class SingleFileSourceCodeProgram {

public static void main(String... args) {
System.out.println("http://openjdk.java.net/jeps/330");
System.out.println("https://openjdk.java.net/jeps/330");
}
}

0 comments on commit 70a9466

Please sign in to comment.