mirror of https://github.com/apache/archiva.git
no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133471 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5cba2ae53e
commit
797e4a403b
|
@ -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>
|
|
|
@ -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>
|
|
Loading…
Reference in New Issue