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>
50 <id>repository-purge</id>
51 <description>Purge repository of old snapshots</description>
55 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
56 <role-hint>retention-count</role-hint>
57 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
60 <role>org.codehaus.plexus.registry.Registry</role>
61 <role-hint>retention-count</role-hint>
66 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
67 <role-hint>retention-count</role-hint>
68 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
69 <description>RepositoryContentRequest</description>
72 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
73 <role-hint>retention-count</role-hint>
74 <field-name>archivaConfiguration</field-name>
79 <role>org.codehaus.plexus.registry.Registry</role>
80 <role-hint>retention-count</role-hint>
81 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
84 <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
85 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
90 <role>org.apache.maven.archiva.configuration.FileTypes</role>
91 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
94 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
95 <role-hint>retention-count</role-hint>
101 <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
103 <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
104 <role-hint>repo-purge-consumer-by-days-old</role-hint>
105 <implementation>org.apache.maven.archiva.consumers.core.repository.RepositoryPurgeConsumer</implementation>
108 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
109 <role-hint>days-old</role-hint>
112 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
113 <role-hint>jdo</role-hint>
116 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
117 <role-hint>days-old</role-hint>
120 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
123 <role>org.apache.maven.archiva.configuration.FileTypes</role>
127 <id>repository-purge</id>
128 <description>Purge repository of old snapshots</description>
132 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
133 <role-hint>days-old</role-hint>
134 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
135 <description>RepositoryContentRequest</description>
138 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
139 <role-hint>days-old</role-hint>
140 <field-name>archivaConfiguration</field-name>
145 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
146 <role-hint>days-old</role-hint>
147 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
150 <role>org.codehaus.plexus.registry.Registry</role>
151 <role-hint>days-old</role-hint>
156 <role>org.codehaus.plexus.registry.Registry</role>
157 <role-hint>days-old</role-hint>
158 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
161 <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
162 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
167 <role>org.apache.maven.archiva.configuration.FileTypes</role>
168 <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
171 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
172 <role-hint>days-old</role-hint>
180 <role>org.apache.maven.archiva.database.ArchivaDAO</role>
181 <role-hint>jdo</role-hint>
182 <implementation>org.apache.maven.archiva.database.jdo.JdoArchivaDAO</implementation>
185 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
186 <role-hint>archiva</role-hint>
189 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
190 <role-hint>jdo</role-hint>
193 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
194 <role-hint>jdo</role-hint>
197 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
198 <role-hint>jdo</role-hint>
203 <role>org.apache.maven.archiva.database.ArtifactDAO</role>
204 <role-hint>jdo</role-hint>
205 <implementation>org.apache.maven.archiva.database.jdo.JdoArtifactDAO</implementation>
208 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
209 <role-hint>archiva</role-hint>
214 <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
215 <role-hint>jdo</role-hint>
216 <implementation>org.apache.maven.archiva.database.jdo.JdoProjectModelDAO</implementation>
219 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
220 <role-hint>archiva</role-hint>
225 <role>org.apache.maven.archiva.database.RepositoryProblemDAO</role>
226 <role-hint>jdo</role-hint>
227 <implementation>org.apache.maven.archiva.database.jdo.JdoRepositoryProblemDAO</implementation>
230 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
231 <role-hint>archiva</role-hint>
239 <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
240 <role-hint>archiva</role-hint>
241 <implementation>org.apache.maven.archiva.database.jdo.JdoAccess</implementation>
244 <role>org.codehaus.plexus.jdo.JdoFactory</role>
245 <role-hint>archiva</role-hint>
252 <role>org.codehaus.plexus.jdo.JdoFactory</role>
253 <role-hint>archiva</role-hint>
254 <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
256 <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
257 <driverName>org.hsqldb.jdbcDriver</driverName>
258 <userName>sa</userName>
259 <password></password>
260 <url>jdbc:hsqldb:mem:testdb</url>
263 <name>javax.jdo.PersistenceManagerFactoryClass</name>
264 <value>org.jpox.PersistenceManagerFactoryImpl</value>