From f21dcf5ef57ca68179af455e405aa05ab5e32542 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 9 Oct 2014 19:04:26 +1100 Subject: [PATCH] [MRM-1864] use SSL by default for central This matches the default configuration used in the latest version of Maven. --- .../org/apache/archiva/configuration/default-archiva.xml | 2 +- .../admin/repository/remote/RemoteRepositoryAdminTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml b/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml index 309dd3c34..a74f09ceb 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml @@ -33,7 +33,7 @@ central Central Repository - http://repo.maven.apache.org/maven2 + https://repo.maven.apache.org/maven2 default diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java index 68864460b..5d8c7e96c 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java @@ -48,7 +48,7 @@ public class RemoteRepositoryAdminTest { RemoteRepository central = remoteRepositoryAdmin.getRemoteRepository( "central" ); assertNotNull( central ); - assertEquals( "http://repo.maven.apache.org/maven2", central.getUrl() ); + assertEquals( "https://repo.maven.apache.org/maven2", central.getUrl() ); assertEquals( 60, central.getTimeout() ); assertNull( central.getUserName() ); assertNull( central.getPassword() ); -- 2.39.5