]> source.dussan.org Git - archiva.git/commitdiff
[MRM-546] correct clean up of registry after removal
authorBrett Porter <brett@apache.org>
Mon, 22 Oct 2007 13:39:52 +0000 (13:39 +0000)
committerBrett Porter <brett@apache.org>
Mon, 22 Oct 2007 13:39:52 +0000 (13:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587088 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java

index 5ca08dc85d92eed3503d1abfa74cd1429918bf26..4ea3450169257d2063915a3fc5238a16cd4fedba 100644 (file)
@@ -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.