]> source.dussan.org Git - archiva.git/blob
63f9b0d4d03d14cbc505a5211fe65f0150da074d
[archiva.git] /
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
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
10   ~
11   ~   http://www.apache.org/licenses/LICENSE-2.0
12   ~
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
18   ~ under the License.
19   -->
20
21 <component-set>
22   <components>
23
24     <!-- for testing repo purge using retention count -->
25     <component>
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>
29       <requirements>
30         <requirement>
31           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
32           <role-hint>retention-count</role-hint>
33         </requirement>
34         <requirement>
35           <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
36           <role-hint>retention-count</role-hint>
37         </requirement>
38         <requirement>
39           <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
40         </requirement>
41         <requirement>
42           <role>org.apache.maven.archiva.configuration.FileTypes</role>
43           <role-hint>retention-count</role-hint>
44         </requirement>
45       </requirements>
46       <configuration>
47         <id>repository-purge</id>
48         <description>Purge repository of old snapshots</description>
49       </configuration>
50     </component>
51     <component>
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>
55       <requirements>
56         <requirement>
57           <role>org.codehaus.plexus.registry.Registry</role>
58           <role-hint>retention-count</role-hint>
59         </requirement>
60         <requirement>
61           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
62           <field-name>prePolicies</field-name>
63         </requirement>
64         <requirement>
65           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
66           <field-name>postPolicies</field-name>
67         </requirement>
68       </requirements>
69     </component>
70     <component>
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>
75       <requirements>
76         <requirement>
77           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
78           <role-hint>retention-count</role-hint>
79           <field-name>archivaConfiguration</field-name>
80         </requirement>
81       </requirements>
82     </component>
83     <component>
84       <role>org.codehaus.plexus.registry.Registry</role>
85       <role-hint>retention-count</role-hint>
86       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
87       <configuration>
88         <properties>
89           <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
90                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
91         </properties>
92       </configuration>
93     </component>
94     <component>
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>
98       <requirements>
99         <requirement>
100           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
101           <role-hint>retention-count</role-hint>
102         </requirement>
103       </requirements>
104     </component>
105
106
107     <!-- for testing repo purge by # of days old and delete cleanupSnapshots -->
108     <component>
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>
112       <requirements>
113         <requirement>
114           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
115           <role-hint>days-old</role-hint>
116         </requirement>
117         <requirement>
118           <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
119           <role-hint>days-old</role-hint>
120         </requirement>
121         <requirement>
122           <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
123         </requirement>
124         <requirement>
125           <role>org.apache.maven.archiva.configuration.FileTypes</role>
126           <role-hint>days-old</role-hint>
127         </requirement>
128       </requirements>
129       <configuration>
130         <id>repository-purge</id>
131         <description>Purge repository of old snapshots</description>
132       </configuration>
133     </component>
134     <component>
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>
139       <requirements>
140         <requirement>
141           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
142           <role-hint>days-old</role-hint>
143           <field-name>archivaConfiguration</field-name>
144         </requirement>
145       </requirements>
146     </component>
147     <component>
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>
151       <requirements>
152         <requirement>
153           <role>org.codehaus.plexus.registry.Registry</role>
154           <role-hint>days-old</role-hint>
155         </requirement>
156         <requirement>
157           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
158           <field-name>prePolicies</field-name>
159         </requirement>
160         <requirement>
161           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
162           <field-name>postPolicies</field-name>
163         </requirement>
164       </requirements>
165     </component>
166     <component>
167       <role>org.codehaus.plexus.registry.Registry</role>
168       <role-hint>days-old</role-hint>
169       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
170       <configuration>
171         <properties>
172           <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml"
173                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
174         </properties>
175       </configuration>
176     </component>
177     <component>
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>
181       <requirements>
182         <requirement>
183           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
184           <role-hint>days-old</role-hint>
185         </requirement>
186       </requirements>
187     </component>
188   </components>
189 </component-set>