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>
69 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
70 <field-name>prePolicies</field-name>
73 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
74 <field-name>postPolicies</field-name>
79 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
80 <role-hint>retention-count</role-hint>
81 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
82 <description>RepositoryContentRequest</description>
85 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
86 <role-hint>retention-count</role-hint>
87 <field-name>archivaConfiguration</field-name>
92 <role>org.codehaus.plexus.registry.Registry</role>
93 <role-hint>retention-count</role-hint>
94 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
97 <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
98 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
103 <role>org.apache.maven.archiva.configuration.FileTypes</role>
104 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
107 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
108 <role-hint>retention-count</role-hint>
114 <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
116 <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
117 <role-hint>repo-purge-consumer-by-days-old</role-hint>
118 <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
121 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
122 <role-hint>days-old</role-hint>
125 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
126 <role-hint>jdo</role-hint>
129 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
130 <role-hint>days-old</role-hint>
133 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
136 <role>org.apache.maven.archiva.configuration.FileTypes</role>
139 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
140 <role-hint>lucene</role-hint>
141 <field-name>indexFactory</field-name>
145 <id>repository-purge</id>
146 <description>Purge repository of old snapshots</description>
150 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
151 <role-hint>days-old</role-hint>
152 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
153 <description>RepositoryContentRequest</description>
156 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
157 <role-hint>days-old</role-hint>
158 <field-name>archivaConfiguration</field-name>
163 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
164 <role-hint>days-old</role-hint>
165 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
168 <role>org.codehaus.plexus.registry.Registry</role>
169 <role-hint>days-old</role-hint>
172 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
173 <field-name>prePolicies</field-name>
176 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
177 <field-name>postPolicies</field-name>
182 <role>org.codehaus.plexus.registry.Registry</role>
183 <role-hint>days-old</role-hint>
184 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
187 <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
188 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
193 <role>org.apache.maven.archiva.configuration.FileTypes</role>
194 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
197 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
198 <role-hint>days-old</role-hint>
206 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
207 <role-hint>jdo</role-hint>
208 <implementation>org.apache.maven.archiva.database.jdo.JdoArchivaDAO</implementation>
211 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
212 <role-hint>archiva</role-hint>
215 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
216 <role-hint>jdo</role-hint>
219 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
220 <role-hint>jdo</role-hint>
223 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
224 <role-hint>jdo</role-hint>
229 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
230 <role-hint>jdo</role-hint>
231 <implementation>org.apache.maven.archiva.database.jdo.JdoArtifactDAO</implementation>
234 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
235 <role-hint>archiva</role-hint>
240 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
241 <role-hint>jdo</role-hint>
242 <implementation>org.apache.maven.archiva.database.jdo.JdoProjectModelDAO</implementation>
245 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
246 <role-hint>archiva</role-hint>
251 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
252 <role-hint>jdo</role-hint>
253 <implementation>org.apache.maven.archiva.database.jdo.JdoRepositoryProblemDAO</implementation>
256 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
257 <role-hint>archiva</role-hint>
265 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
266 <role-hint>archiva</role-hint>
267 <implementation>org.apache.maven.archiva.database.jdo.JdoAccess</implementation>
270 <role>org.codehaus.plexus.jdo.JdoFactory</role>
271 <role-hint>archiva</role-hint>
278 <role>org.codehaus.plexus.jdo.JdoFactory</role>
279 <role-hint>archiva</role-hint>
280 <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
282 <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
283 <driverName>org.hsqldb.jdbcDriver</driverName>
284 <userName>sa</userName>
285 <password></password>
286 <url>jdbc:hsqldb:mem:testdb</url>
289 <name>javax.jdo.PersistenceManagerFactoryClass</name>
290 <value>org.jpox.PersistenceManagerFactoryImpl</value>
296 <!-- LuceneRepositoryIndexFactory -->
298 <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
299 <role-hint>lucene</role-hint>
300 <implementation>org.apache.maven.archiva.consumers.core.repository.stubs.LuceneRepositoryContentIndexFactoryStub</implementation>