From: Brett Porter Date: Mon, 22 Oct 2007 13:39:52 +0000 (+0000) Subject: [MRM-546] correct clean up of registry after removal X-Git-Tag: archiva-1.0-beta-3~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b16483c88e277dee888cfa4ba0682ff43926ccb;p=archiva.git [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 --- 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.