]> source.dussan.org Git - archiva.git/blob
0e84402c7c018f7edea80f93acae0c7e9aeaa0fa
[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     <component>
25       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
26       <role-hint>test-defaults-default-repo-location-exists</role-hint>
27       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
28       <requirements>
29         <requirement>
30           <role>org.codehaus.plexus.registry.Registry</role>
31           <role-hint>empty</role-hint>
32         </requirement>
33         <requirement>
34           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
35           <field-name>prePolicies</field-name>
36         </requirement>
37         <requirement>
38           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
39           <field-name>postPolicies</field-name>
40         </requirement>
41       </requirements>
42     </component>
43     
44     <component>
45       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
46       <role-hint>test-defaults</role-hint>
47       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
48       <requirements>
49         <requirement>
50           <role>org.codehaus.plexus.registry.Registry</role>
51           <role-hint>empty</role-hint>
52         </requirement>
53         <requirement>
54           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
55           <field-name>prePolicies</field-name>
56         </requirement>
57         <requirement>
58           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
59           <field-name>postPolicies</field-name>
60         </requirement>
61       </requirements>
62     </component>
63     <component>
64       <role>org.codehaus.plexus.registry.Registry</role>
65       <role-hint>empty</role-hint>
66       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
67       <configuration>
68       </configuration>
69     </component>
70
71     <component>
72       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
73       <role-hint>test-upgrade-09</role-hint>
74       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
75       <requirements>
76         <requirement>
77           <role>org.codehaus.plexus.registry.Registry</role>
78           <role-hint>upgrade-09</role-hint>
79         </requirement>
80         <requirement>
81           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
82           <field-name>prePolicies</field-name>
83         </requirement>
84         <requirement>
85           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
86           <field-name>postPolicies</field-name>
87         </requirement>
88       </requirements>
89     </component>
90     <component>
91       <role>org.codehaus.plexus.registry.Registry</role>
92       <role-hint>upgrade-09</role-hint>
93       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
94       <configuration>
95         <properties>
96           <xml fileName="${basedir}/src/test/conf/archiva-0.9.xml"
97                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
98         </properties>
99       </configuration>
100     </component>
101
102     <component>
103       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
104       <role-hint>test-configuration</role-hint>
105       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
106       <requirements>
107         <requirement>
108           <role>org.codehaus.plexus.registry.Registry</role>
109           <role-hint>configured</role-hint>
110         </requirement>
111         <requirement>
112           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
113           <field-name>prePolicies</field-name>
114         </requirement>
115         <requirement>
116           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
117           <field-name>postPolicies</field-name>
118         </requirement>
119       </requirements>
120     </component>
121     <component>
122       <role>org.codehaus.plexus.registry.Registry</role>
123       <role-hint>configured</role-hint>
124       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
125       <configuration>
126         <properties>
127           <system/>
128           <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
129                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
130         </properties>
131       </configuration>
132     </component>
133
134     <component>
135       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
136       <role-hint>test-autodetect-v1</role-hint>
137       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
138       <requirements>
139         <requirement>
140           <role>org.codehaus.plexus.registry.Registry</role>
141           <role-hint>autodetect-v1</role-hint>
142         </requirement>
143         <requirement>
144           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
145           <field-name>prePolicies</field-name>
146         </requirement>
147         <requirement>
148           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
149           <field-name>postPolicies</field-name>
150         </requirement>
151       </requirements>
152     </component>
153     <component>
154       <role>org.codehaus.plexus.registry.Registry</role>
155       <role-hint>autodetect-v1</role-hint>
156       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
157       <configuration>
158         <properties>
159           <system/>
160           <xml fileName="${basedir}/target/test-autodetect-v1/archiva-user.xml" config-optional="true"
161                config-name="org.apache.maven.archiva.user" 
162                config-at="org.apache.maven.archiva"/>
163         </properties>
164       </configuration>
165     </component>
166
167     <component>
168       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
169       <role-hint>test-archiva-v1</role-hint>
170       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
171       <requirements>
172         <requirement>
173           <role>org.codehaus.plexus.registry.Registry</role>
174           <role-hint>archiva-v1</role-hint>
175         </requirement>
176         <requirement>
177           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
178           <field-name>prePolicies</field-name>
179         </requirement>
180         <requirement>
181           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
182           <field-name>postPolicies</field-name>
183         </requirement>
184       </requirements>
185     </component>
186     <component>
187       <role>org.codehaus.plexus.registry.Registry</role>
188       <role-hint>archiva-v1</role-hint>
189       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
190       <configuration>
191         <properties>
192           <system/>
193           <xml fileName="${basedir}/src/test/conf/archiva-v1.xml"
194                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
195         </properties>
196       </configuration>
197     </component>
198
199     <component>
200       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
201       <role-hint>test-save</role-hint>
202       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
203       <requirements>
204         <requirement>
205           <role>org.codehaus.plexus.registry.Registry</role>
206           <role-hint>save</role-hint>
207         </requirement>
208         <requirement>
209           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
210           <field-name>prePolicies</field-name>
211         </requirement>
212         <requirement>
213           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
214           <field-name>postPolicies</field-name>
215         </requirement>
216       </requirements>
217     </component>
218     <component>
219       <role>org.codehaus.plexus.registry.Registry</role>
220       <role-hint>save</role-hint>
221       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
222       <configuration>
223         <properties>
224           <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true"
225                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
226         </properties>
227       </configuration>
228     </component>
229
230     <component>
231       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
232       <role-hint>test-save-user</role-hint>
233       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
234       <requirements>
235         <requirement>
236           <role>org.codehaus.plexus.registry.Registry</role>
237           <role-hint>save-user</role-hint>
238         </requirement>
239         <requirement>
240           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
241           <field-name>prePolicies</field-name>
242         </requirement>
243         <requirement>
244           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
245           <field-name>postPolicies</field-name>
246         </requirement>
247       </requirements>
248       <configuration>
249         <userConfigFilename>${basedir}/target/test/test-file-user.xml</userConfigFilename>
250       </configuration>
251     </component>
252     <component>
253       <role>org.codehaus.plexus.registry.Registry</role>
254       <role-hint>save-user</role-hint>
255       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
256       <configuration>
257         <properties>
258           <xml fileName="${basedir}/target/test/test-file-user.xml" config-optional="true" config-forceCreate="true"
259                config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/>
260           <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true"
261                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
262         </properties>
263       </configuration>
264     </component>
265
266     <component>
267       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
268       <role-hint>test-configuration-both</role-hint>
269       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
270       <requirements>
271         <requirement>
272           <role>org.codehaus.plexus.registry.Registry</role>
273           <role-hint>configuration-both</role-hint>
274         </requirement>
275         <requirement>
276           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
277           <field-name>prePolicies</field-name>
278         </requirement>
279         <requirement>
280           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
281           <field-name>postPolicies</field-name>
282         </requirement>
283       </requirements>
284     </component>
285     <component>
286       <role>org.codehaus.plexus.registry.Registry</role>
287       <role-hint>configuration-both</role-hint>
288       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
289       <configuration>
290         <properties>
291           <xml fileName="${basedir}/src/test/conf/conf-user.xml" config-optional="true" config-forceCreate="true"
292                config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/>
293           <xml fileName="${basedir}/src/test/conf/conf-base.xml" config-optional="true" config-forceCreate="true"
294                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
295         </properties>
296       </configuration>
297     </component>
298
299     <component>
300       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
301       <role-hint>test-read-saved</role-hint>
302       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
303       <requirements>
304         <requirement>
305           <role>org.codehaus.plexus.registry.Registry</role>
306           <role-hint>read-saved</role-hint>
307         </requirement>
308         <requirement>
309           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
310           <field-name>prePolicies</field-name>
311         </requirement>
312         <requirement>
313           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
314           <field-name>postPolicies</field-name>
315         </requirement>
316       </requirements>
317       <configuration>
318         <userConfigFilename>${basedir}/target/test/test-file.xml</userConfigFilename>
319       </configuration>
320     </component>
321     <component>
322       <role>org.codehaus.plexus.registry.Registry</role>
323       <role-hint>read-saved</role-hint>
324       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
325       <configuration>
326         <properties>
327           <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true"
328                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
329         </properties>
330       </configuration>
331     </component>
332
333     <component>
334       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
335       <role-hint>test-cron-expressions</role-hint>
336       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
337       <requirements>
338         <requirement>
339           <role>org.codehaus.plexus.registry.Registry</role>
340           <role-hint>cron-expressions</role-hint>
341         </requirement>
342         <requirement>
343           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
344           <field-name>prePolicies</field-name>
345         </requirement>
346         <requirement>
347           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
348           <field-name>postPolicies</field-name>
349         </requirement>
350       </requirements>
351       <configuration>
352         <userConfigFilename>${basedir}/target/test/test-file.xml</userConfigFilename>
353       </configuration>
354     </component>
355     <component>
356       <role>org.codehaus.plexus.registry.Registry</role>
357       <role-hint>cron-expressions</role-hint>
358       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
359       <configuration>
360         <properties>
361           <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true"
362                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
363         </properties>
364       </configuration>
365     </component>
366     
367     <component>
368       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
369       <role-hint>test-remove-central</role-hint>
370       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
371       <requirements>
372         <requirement>
373           <role>org.codehaus.plexus.registry.Registry</role>
374           <role-hint>remove-central</role-hint>
375         </requirement>
376         <requirement>
377           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
378           <field-name>prePolicies</field-name>
379         </requirement>
380         <requirement>
381           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
382           <field-name>postPolicies</field-name>
383         </requirement>
384       </requirements>
385       <configuration>
386         <userConfigFilename>${basedir}/target/test/test-file.xml</userConfigFilename>
387       </configuration>
388     </component>
389     <component>
390       <role>org.codehaus.plexus.registry.Registry</role>
391       <role-hint>remove-central</role-hint>
392       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
393       <configuration>
394         <properties>
395           <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true"
396                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
397         </properties>
398       </configuration>
399     </component>
400
401     <component>
402       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
403       <role-hint>test-not-allowed-to-write-to-both</role-hint>
404       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
405       <requirements>
406         <requirement>
407           <role>org.codehaus.plexus.registry.Registry</role>
408           <role-hint>not-allowed-to-write-to-both</role-hint>
409         </requirement>
410         <requirement>
411           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
412           <field-name>prePolicies</field-name>
413         </requirement>
414         <requirement>
415           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
416           <field-name>postPolicies</field-name>
417         </requirement>
418       </requirements>
419       <configuration>
420         <user-config-filename>${basedir}/target/*intentionally:invalid*/.m2/archiva-user.xml</user-config-filename>
421         <alt-config-filename>${basedir}/target/*intentionally:invalid*/conf/archiva.xml</alt-config-filename>
422       </configuration>
423     </component>
424     <component>
425       <role>org.codehaus.plexus.registry.Registry</role>
426       <role-hint>not-allowed-to-write-to-both</role-hint>
427       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
428       <configuration>
429         <properties>
430           <xml fileName="${basedir}/target/*intentionally:invalid*/.m2/archiva-user.xml" config-optional="true"
431                config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/>
432           <xml fileName="${basedir}/target/*intentionally:invalid*/conf/archiva.xml" config-optional="true"
433                config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/>
434         </properties>
435       </configuration>
436     </component>
437     
438     <component>
439       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
440       <role-hint>test-not-allowed-to-write-to-user</role-hint>
441       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
442       <requirements>
443         <requirement>
444           <role>org.codehaus.plexus.registry.Registry</role>
445           <role-hint>not-allowed-to-write-to-user</role-hint>
446         </requirement>
447         <requirement>
448           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
449           <field-name>prePolicies</field-name>
450         </requirement>
451         <requirement>
452           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
453           <field-name>postPolicies</field-name>
454         </requirement>
455       </requirements>
456       <configuration>
457         <user-config-filename>${basedir}/target/*intentionally:invalid*/.m2/archiva-user.xml</user-config-filename>
458         <alt-config-filename>${basedir}/target/test-appserver-base/conf/archiva.xml</alt-config-filename>
459       </configuration>
460     </component>
461     <component>
462       <role>org.codehaus.plexus.registry.Registry</role>
463       <role-hint>not-allowed-to-write-to-user</role-hint>
464       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
465       <configuration>
466         <properties>
467           <xml fileName="${basedir}/target/*intentionally:invalid*/.m2/archiva-user.xml" config-optional="true"
468                config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/>
469           <xml fileName="${basedir}/target/test-appserver-base/conf/archiva.xml" config-optional="true"
470                config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/>
471         </properties>
472       </configuration>
473     </component>
474
475     <component>
476       <role>org.codehaus.plexus.cache.Cache</role>
477       <role-hint>url-failures-cache</role-hint>
478       <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation>
479       <description>URL Failure Cache</description>
480       <configuration>
481         <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds>
482         <disk-persistent>false</disk-persistent>
483         <eternal>false</eternal>
484         <max-elements-in-memory>1000</max-elements-in-memory>
485         <memory-eviction-policy>LRU</memory-eviction-policy>
486         <name>cache</name>
487         <overflow-to-disk>false</overflow-to-disk>
488         <!-- 45 minutes = 2700 seconds -->
489         <time-to-idle-seconds>2700</time-to-idle-seconds>
490         <!-- 30 minutes = 1800 seconds  -->
491         <time-to-live-seconds>1800</time-to-live-seconds>
492       </configuration>
493     </component>    
494   </components>
495 </component-set>