]> source.dussan.org Git - archiva.git/commitdiff
no more used plexus test configuration files
authorOlivier Lamy <olamy@apache.org>
Wed, 8 Jun 2011 17:21:21 +0000 (17:21 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 8 Jun 2011 17:21:21 +0000 (17:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133471 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/org/apache/maven/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurgeTest.xml [deleted file]
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/org/apache/maven/archiva/consumers/core/repository/RepositoryPurgeConsumerTest.xml [deleted file]

diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/org/apache/maven/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurgeTest.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/org/apache/maven/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurgeTest.xml
deleted file mode 100644 (file)
index bd895c3..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~   http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-
-<component-set>
-  <components>
-    <component>
-      <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-      <role-hint>cleanup-released-snapshots</role-hint>
-      <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
-      <requirements>
-        <requirement>
-          <role>org.codehaus.plexus.registry.Registry</role>
-          <role-hint>cleanup-released-snapshots</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
-          <field-name>prePolicies</field-name>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
-          <field-name>postPolicies</field-name>
-        </requirement>
-      </requirements>
-    </component>
-    
-     <component>
-      <role>org.codehaus.plexus.registry.Registry</role>
-      <role-hint>cleanup-released-snapshots</role-hint>
-      <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
-      <configuration>
-        <properties>
-          <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
-               config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
-        </properties>
-      </configuration>
-    </component>
-    
-    <component>
-      <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
-      <role-hint>cleanup-released-snapshots</role-hint>
-      <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
-      <description>RepositoryContentRequest</description>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>cleanup-released-snapshots</role-hint>
-          <field-name>archivaConfiguration</field-name>
-        </requirement>
-      </requirements>
-    </component>
-
-  </components>
-</component-set>
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/org/apache/maven/archiva/consumers/core/repository/RepositoryPurgeConsumerTest.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/org/apache/maven/archiva/consumers/core/repository/RepositoryPurgeConsumerTest.xml
deleted file mode 100644 (file)
index 4b46f08..0000000
+++ /dev/null
@@ -1,199 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~   http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-
-<component-set>
-  <components>
-
-    <!-- for testing repo purge using retention count -->
-    <component>
-      <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
-      <role-hint>repo-purge-consumer-by-retention-count</role-hint>
-      <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>retention-count</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
-          <role-hint>retention-count</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.FileTypes</role>
-          <role-hint>retention-count</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.archiva.metadata.repository.RepositorySessionFactory</role>
-        </requirement>
-      </requirements>
-      <configuration>
-        <id>repository-purge</id>
-        <description>Purge repository of old snapshots</description>
-      </configuration>
-    </component>
-    <component>
-      <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-      <role-hint>retention-count</role-hint>
-      <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
-      <requirements>
-        <requirement>
-          <role>org.codehaus.plexus.registry.Registry</role>
-          <role-hint>retention-count</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
-          <field-name>prePolicies</field-name>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
-          <field-name>postPolicies</field-name>
-        </requirement>
-      </requirements>
-    </component>
-    <component>
-      <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
-      <role-hint>retention-count</role-hint>
-      <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
-      <description>RepositoryContentRequest</description>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>retention-count</role-hint>
-          <field-name>archivaConfiguration</field-name>
-        </requirement>
-      </requirements>
-    </component>
-    <component>
-      <role>org.codehaus.plexus.registry.Registry</role>
-      <role-hint>retention-count</role-hint>
-      <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
-      <configuration>
-        <properties>
-          <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
-               config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
-        </properties>
-      </configuration>
-    </component>
-    <component>
-      <role>org.apache.maven.archiva.configuration.FileTypes</role>
-      <role-hint>retention-count</role-hint>
-      <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>retention-count</role-hint>
-        </requirement>
-      </requirements>
-    </component>
-
-
-    <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
-    <component>
-      <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
-      <role-hint>repo-purge-consumer-by-days-old</role-hint>
-      <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>days-old</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
-          <role-hint>days-old</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.FileTypes</role>
-          <role-hint>days-old</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.archiva.metadata.repository.RepositorySessionFactory</role>
-        </requirement>
-      </requirements>
-      <configuration>
-        <id>repository-purge</id>
-        <description>Purge repository of old snapshots</description>
-      </configuration>
-    </component>
-    <component>
-      <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
-      <role-hint>days-old</role-hint>
-      <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
-      <description>RepositoryContentRequest</description>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>days-old</role-hint>
-          <field-name>archivaConfiguration</field-name>
-        </requirement>
-      </requirements>
-    </component>
-    <component>
-      <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-      <role-hint>days-old</role-hint>
-      <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
-      <requirements>
-        <requirement>
-          <role>org.codehaus.plexus.registry.Registry</role>
-          <role-hint>days-old</role-hint>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
-          <field-name>prePolicies</field-name>
-        </requirement>
-        <requirement>
-          <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
-          <field-name>postPolicies</field-name>
-        </requirement>
-      </requirements>
-    </component>
-    <component>
-      <role>org.codehaus.plexus.registry.Registry</role>
-      <role-hint>days-old</role-hint>
-      <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
-      <configuration>
-        <properties>
-          <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
-               config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
-        </properties>
-      </configuration>
-    </component>
-    <component>
-      <role>org.apache.maven.archiva.configuration.FileTypes</role>
-      <role-hint>days-old</role-hint>
-      <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
-          <role-hint>days-old</role-hint>
-        </requirement>
-      </requirements>
-    </component>
-    <component>
-      <role>org.apache.archiva.metadata.repository.RepositorySessionFactory</role>
-      <implementation>org.apache.archiva.metadata.repository.TestRepositorySessionFactory</implementation>
-    </component>
-  </components>
-</component-set>