diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-01-16 18:37:46 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-01-16 18:37:46 +0100 |
commit | 0aa82c13efa16ff9a58d32951ea15a10863bd809 (patch) | |
tree | 25d264f63894048d48260db2f81286ac2c1fae04 /archiva-modules | |
parent | cb0918cd1993598908ba171fb0c52650baa53813 (diff) | |
download | archiva-0aa82c13efa16ff9a58d32951ea15a10863bd809.tar.gz archiva-0aa82c13efa16ff9a58d32951ea15a10863bd809.zip |
Switching to https protocol for repo.maven.apache.org
Diffstat (limited to 'archiva-modules')
2 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java index d3d667283..973569c65 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java @@ -208,7 +208,7 @@ public class RemoteRepositoriesServiceTest RemoteRepository getRemoteMavenRepository() { - return new RemoteRepository( "id-maven1", "Maven1", "http://repo.maven.apache.org/maven2", "default", "foo", "foopassword", 120, + return new RemoteRepository( "id-maven1", "Maven1", "https://repo.maven.apache.org/maven2", "default", "foo", "foopassword", 120, "cool repo3" ); } diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactsTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactsTest.java index b009e8c71..e21e04662 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactsTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactsTest.java @@ -194,7 +194,7 @@ public class DownloadArtifactsTest resp.setStatus( 302 ); resp.getWriter().write( "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" + "<html><head>\n" + "<title>302 Found</title>\n" + "</head><body>\n" + "<h1>Found</h1>\n" - + "<p>The document has moved <a href=\"http://repo.maven.apache.org/maven2/junit/junit/4.9/junit-4.9.jar\">here</a>.</p>\n" + + "<p>The document has moved <a href=\"https://repo.maven.apache.org/maven2/junit/junit/4.9/junit-4.9.jar\">here</a>.</p>\n" + "</body></html>\n" + "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" + "<html><head>\n" ); resp.sendRedirect( "http://localhost:" + getServletContext().getAttribute( "redirectToPort" ) + "/maven2/" |