1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
11 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
24 <!-- for testing repo purge using retention count -->
26 <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
27 <role-hint>repo-purge-consumer-by-retention-count</role-hint>
28 <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
31 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
32 <role-hint>retention-count</role-hint>
35 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
36 <role-hint>retention-count</role-hint>
39 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
42 <role>org.apache.maven.archiva.configuration.FileTypes</role>
43 <role-hint>retention-count</role-hint>
47 <id>repository-purge</id>
48 <description>Purge repository of old snapshots</description>
52 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
53 <role-hint>retention-count</role-hint>
54 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
57 <role>org.codehaus.plexus.registry.Registry</role>
58 <role-hint>retention-count</role-hint>
61 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
62 <field-name>prePolicies</field-name>
65 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
66 <field-name>postPolicies</field-name>
71 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
72 <role-hint>retention-count</role-hint>
73 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
74 <description>RepositoryContentRequest</description>
77 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
78 <role-hint>retention-count</role-hint>
79 <field-name>archivaConfiguration</field-name>
84 <role>org.codehaus.plexus.registry.Registry</role>
85 <role-hint>retention-count</role-hint>
86 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
89 <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
90 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
95 <role>org.apache.maven.archiva.configuration.FileTypes</role>
96 <role-hint>retention-count</role-hint>
97 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
100 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
101 <role-hint>retention-count</role-hint>
107 <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
109 <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
110 <role-hint>repo-purge-consumer-by-days-old</role-hint>
111 <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
114 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
115 <role-hint>days-old</role-hint>
118 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
119 <role-hint>days-old</role-hint>
122 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
125 <role>org.apache.maven.archiva.configuration.FileTypes</role>
126 <role-hint>days-old</role-hint>
130 <id>repository-purge</id>
131 <description>Purge repository of old snapshots</description>
135 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
136 <role-hint>days-old</role-hint>
137 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
138 <description>RepositoryContentRequest</description>
141 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
142 <role-hint>days-old</role-hint>
143 <field-name>archivaConfiguration</field-name>
148 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
149 <role-hint>days-old</role-hint>
150 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
153 <role>org.codehaus.plexus.registry.Registry</role>
154 <role-hint>days-old</role-hint>
157 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
158 <field-name>prePolicies</field-name>
161 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
162 <field-name>postPolicies</field-name>
167 <role>org.codehaus.plexus.registry.Registry</role>
168 <role-hint>days-old</role-hint>
169 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
172 <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
173 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
178 <role>org.apache.maven.archiva.configuration.FileTypes</role>
179 <role-hint>days-old</role-hint>
180 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
183 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
184 <role-hint>days-old</role-hint>