From 0b16483c88e277dee888cfa4ba0682ff43926ccb Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Mon, 22 Oct 2007 13:39:52 +0000 Subject: [PATCH] [MRM-546] correct clean up of registry after removal git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587088 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/configuration/DefaultArchivaConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java index 5ca08dc85..4ea345016 100644 --- a/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java +++ b/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java @@ -172,6 +172,8 @@ public class DefaultArchivaConfiguration // Prevent duplicate repositories from showing up. config.getRepositories().clear(); + + registry.removeSubset( KEY + ".repositories" ); } // Normalize the order fields in the proxy connectors. -- 2.39.5