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>
49 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
50 <role-hint>lucene</role-hint>
51 <field-name>indexFactory</field-name>
55 <id>repository-purge</id>
56 <description>Purge repository of old snapshots</description>
60 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
61 <role-hint>retention-count</role-hint>
62 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
65 <role>org.codehaus.plexus.registry.Registry</role>
66 <role-hint>retention-count</role-hint>
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 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
99 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
100 <role-hint>retention-count</role-hint>
106 <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
108 <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
109 <role-hint>repo-purge-consumer-by-days-old</role-hint>
110 <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
113 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
114 <role-hint>days-old</role-hint>
117 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
118 <role-hint>jdo</role-hint>
121 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
122 <role-hint>days-old</role-hint>
125 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
128 <role>org.apache.maven.archiva.configuration.FileTypes</role>
131 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
132 <role-hint>lucene</role-hint>
133 <field-name>indexFactory</field-name>
137 <id>repository-purge</id>
138 <description>Purge repository of old snapshots</description>
142 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
143 <role-hint>days-old</role-hint>
144 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
145 <description>RepositoryContentRequest</description>
148 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
149 <role-hint>days-old</role-hint>
150 <field-name>archivaConfiguration</field-name>
155 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
156 <role-hint>days-old</role-hint>
157 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
160 <role>org.codehaus.plexus.registry.Registry</role>
161 <role-hint>days-old</role-hint>
166 <role>org.codehaus.plexus.registry.Registry</role>
167 <role-hint>days-old</role-hint>
168 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
171 <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
172 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
177 <role>org.apache.maven.archiva.configuration.FileTypes</role>
178 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
181 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
182 <role-hint>days-old</role-hint>
190 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
191 <role-hint>jdo</role-hint>
192 <implementation>org.apache.maven.archiva.database.jdo.JdoArchivaDAO</implementation>
195 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
196 <role-hint>archiva</role-hint>
199 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
200 <role-hint>jdo</role-hint>
203 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
204 <role-hint>jdo</role-hint>
207 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
208 <role-hint>jdo</role-hint>
213 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
214 <role-hint>jdo</role-hint>
215 <implementation>org.apache.maven.archiva.database.jdo.JdoArtifactDAO</implementation>
218 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
219 <role-hint>archiva</role-hint>
224 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
225 <role-hint>jdo</role-hint>
226 <implementation>org.apache.maven.archiva.database.jdo.JdoProjectModelDAO</implementation>
229 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
230 <role-hint>archiva</role-hint>
235 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
236 <role-hint>jdo</role-hint>
237 <implementation>org.apache.maven.archiva.database.jdo.JdoRepositoryProblemDAO</implementation>
240 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
241 <role-hint>archiva</role-hint>
249 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
250 <role-hint>archiva</role-hint>
251 <implementation>org.apache.maven.archiva.database.jdo.JdoAccess</implementation>
254 <role>org.codehaus.plexus.jdo.JdoFactory</role>
255 <role-hint>archiva</role-hint>
262 <role>org.codehaus.plexus.jdo.JdoFactory</role>
263 <role-hint>archiva</role-hint>
264 <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
266 <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
267 <driverName>org.hsqldb.jdbcDriver</driverName>
268 <userName>sa</userName>
269 <password></password>
270 <url>jdbc:hsqldb:mem:testdb</url>
273 <name>javax.jdo.PersistenceManagerFactoryClass</name>
274 <value>org.jpox.PersistenceManagerFactoryImpl</value>
280 <!-- LuceneRepositoryIndexFactory -->
282 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
283 <role-hint>lucene</role-hint>
284 <implementation>org.apache.maven.archiva.consumers.core.repository.stubs.LuceneRepositoryContentIndexFactoryStub</implementation>