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.database.ArchivaDAO</role>
36 <role-hint>jdo</role-hint>
39 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
40 <role-hint>retention-count</role-hint>
43 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
46 <role>org.apache.maven.archiva.configuration.FileTypes</role>
47 <role-hint>retention-count</role-hint>
50 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
51 <role-hint>lucene</role-hint>
52 <field-name>indexFactory</field-name>
56 <id>repository-purge</id>
57 <description>Purge repository of old snapshots</description>
61 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
62 <role-hint>retention-count</role-hint>
63 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
66 <role>org.codehaus.plexus.registry.Registry</role>
67 <role-hint>retention-count</role-hint>
70 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
71 <field-name>prePolicies</field-name>
74 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
75 <field-name>postPolicies</field-name>
80 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
81 <role-hint>retention-count</role-hint>
82 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
83 <description>RepositoryContentRequest</description>
86 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
87 <role-hint>retention-count</role-hint>
88 <field-name>archivaConfiguration</field-name>
93 <role>org.codehaus.plexus.registry.Registry</role>
94 <role-hint>retention-count</role-hint>
95 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
98 <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
99 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
104 <role>org.apache.maven.archiva.configuration.FileTypes</role>
105 <role-hint>retention-count</role-hint>
106 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
109 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
110 <role-hint>retention-count</role-hint>
116 <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
118 <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
119 <role-hint>repo-purge-consumer-by-days-old</role-hint>
120 <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
123 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
124 <role-hint>days-old</role-hint>
127 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
128 <role-hint>jdo</role-hint>
131 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
132 <role-hint>days-old</role-hint>
135 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
138 <role>org.apache.maven.archiva.configuration.FileTypes</role>
139 <role-hint>days-old</role-hint>
142 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
143 <role-hint>lucene</role-hint>
144 <field-name>indexFactory</field-name>
148 <id>repository-purge</id>
149 <description>Purge repository of old snapshots</description>
153 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
154 <role-hint>days-old</role-hint>
155 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
156 <description>RepositoryContentRequest</description>
159 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
160 <role-hint>days-old</role-hint>
161 <field-name>archivaConfiguration</field-name>
166 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
167 <role-hint>days-old</role-hint>
168 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
171 <role>org.codehaus.plexus.registry.Registry</role>
172 <role-hint>days-old</role-hint>
175 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
176 <field-name>prePolicies</field-name>
179 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
180 <field-name>postPolicies</field-name>
185 <role>org.codehaus.plexus.registry.Registry</role>
186 <role-hint>days-old</role-hint>
187 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
190 <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
191 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
196 <role>org.apache.maven.archiva.configuration.FileTypes</role>
197 <role-hint>days-old</role-hint>
198 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
201 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
202 <role-hint>days-old</role-hint>
210 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
211 <role-hint>jdo</role-hint>
212 <implementation>org.apache.maven.archiva.database.jdo.JdoArchivaDAO</implementation>
215 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
216 <role-hint>archiva</role-hint>
219 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
220 <role-hint>jdo</role-hint>
223 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
224 <role-hint>jdo</role-hint>
227 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
228 <role-hint>jdo</role-hint>
233 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
234 <role-hint>jdo</role-hint>
235 <implementation>org.apache.maven.archiva.database.jdo.JdoArtifactDAO</implementation>
238 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
239 <role-hint>archiva</role-hint>
244 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
245 <role-hint>jdo</role-hint>
246 <implementation>org.apache.maven.archiva.database.jdo.JdoProjectModelDAO</implementation>
249 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
250 <role-hint>archiva</role-hint>
255 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
256 <role-hint>jdo</role-hint>
257 <implementation>org.apache.maven.archiva.database.jdo.JdoRepositoryProblemDAO</implementation>
260 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
261 <role-hint>archiva</role-hint>
269 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
270 <role-hint>archiva</role-hint>
271 <implementation>org.apache.maven.archiva.database.jdo.JdoAccess</implementation>
274 <role>org.codehaus.plexus.jdo.JdoFactory</role>
275 <role-hint>archiva</role-hint>
282 <role>org.codehaus.plexus.jdo.JdoFactory</role>
283 <role-hint>archiva</role-hint>
284 <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
286 <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
287 <driverName>org.hsqldb.jdbcDriver</driverName>
288 <userName>sa</userName>
289 <password></password>
290 <url>jdbc:hsqldb:mem:testdb</url>
293 <name>javax.jdo.PersistenceManagerFactoryClass</name>
294 <value>org.jpox.PersistenceManagerFactoryImpl</value>
300 <!-- LuceneRepositoryIndexFactory -->
302 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
303 <role-hint>lucene</role-hint>
304 <implementation>org.apache.maven.archiva.consumers.core.repository.stubs.LuceneRepositoryContentIndexFactoryStub</implementation>