diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-01-16 18:34:29 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-01-16 18:34:29 +0100 |
commit | 588792244951496ee0874690f09ffec825419e92 (patch) | |
tree | bc9c2c3e52ebea7dc3c09329185851e685de55a3 /archiva-modules/archiva-web | |
parent | a59df13f7c5437e7002d924bfd63a5a244068a46 (diff) | |
download | archiva-588792244951496ee0874690f09ffec825419e92.tar.gz archiva-588792244951496ee0874690f09ffec825419e92.zip |
Switching to https protocol for repo.maven.apache.org
Diffstat (limited to 'archiva-modules/archiva-web')
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 556b5f408..b2471edfe 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 @@ -238,7 +238,7 @@ public class RemoteRepositoriesServiceTest RemoteRepository getRemoteMavenRepository() { - return new RemoteRepository( Locale.getDefault( ),"id-maven1", "Maven1", "http://repo.maven.apache.org/maven2", "default", "foo", "foopassword", 120, + return new RemoteRepository( Locale.getDefault( ),"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 d7124ed2f..acd74d0e3 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 @@ -211,7 +211,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/" |