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
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>
30 <role>org.codehaus.plexus.registry.Registry</role>
31 <role-hint>empty</role-hint>
34 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
35 <field-name>prePolicies</field-name>
38 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
39 <field-name>postPolicies</field-name>
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>
50 <role>org.codehaus.plexus.registry.Registry</role>
51 <role-hint>empty</role-hint>
54 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
55 <field-name>prePolicies</field-name>
58 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
59 <field-name>postPolicies</field-name>
64 <role>org.codehaus.plexus.registry.Registry</role>
65 <role-hint>empty</role-hint>
66 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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>
77 <role>org.codehaus.plexus.registry.Registry</role>
78 <role-hint>upgrade-09</role-hint>
81 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
82 <field-name>prePolicies</field-name>
85 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
86 <field-name>postPolicies</field-name>
91 <role>org.codehaus.plexus.registry.Registry</role>
92 <role-hint>upgrade-09</role-hint>
93 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
96 <xml fileName="${basedir}/src/test/conf/archiva-0.9.xml"
97 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
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>
108 <role>org.codehaus.plexus.registry.Registry</role>
109 <role-hint>configured</role-hint>
112 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
113 <field-name>prePolicies</field-name>
116 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
117 <field-name>postPolicies</field-name>
122 <role>org.codehaus.plexus.registry.Registry</role>
123 <role-hint>configured</role-hint>
124 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
128 <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
129 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
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>
140 <role>org.codehaus.plexus.registry.Registry</role>
141 <role-hint>autodetect-v1</role-hint>
144 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
145 <field-name>prePolicies</field-name>
148 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
149 <field-name>postPolicies</field-name>
154 <role>org.codehaus.plexus.registry.Registry</role>
155 <role-hint>autodetect-v1</role-hint>
156 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
173 <role>org.codehaus.plexus.registry.Registry</role>
174 <role-hint>archiva-v1</role-hint>
177 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
178 <field-name>prePolicies</field-name>
181 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
182 <field-name>postPolicies</field-name>
187 <role>org.codehaus.plexus.registry.Registry</role>
188 <role-hint>archiva-v1</role-hint>
189 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
193 <xml fileName="${basedir}/src/test/conf/archiva-v1.xml"
194 config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
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>
205 <role>org.codehaus.plexus.registry.Registry</role>
206 <role-hint>save</role-hint>
209 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
210 <field-name>prePolicies</field-name>
213 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
214 <field-name>postPolicies</field-name>
219 <role>org.codehaus.plexus.registry.Registry</role>
220 <role-hint>save</role-hint>
221 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
236 <role>org.codehaus.plexus.registry.Registry</role>
237 <role-hint>save-user</role-hint>
240 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
241 <field-name>prePolicies</field-name>
244 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
245 <field-name>postPolicies</field-name>
249 <userConfigFilename>${basedir}/target/test/test-file-user.xml</userConfigFilename>
253 <role>org.codehaus.plexus.registry.Registry</role>
254 <role-hint>save-user</role-hint>
255 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
272 <role>org.codehaus.plexus.registry.Registry</role>
273 <role-hint>configuration-both</role-hint>
276 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
277 <field-name>prePolicies</field-name>
280 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
281 <field-name>postPolicies</field-name>
286 <role>org.codehaus.plexus.registry.Registry</role>
287 <role-hint>configuration-both</role-hint>
288 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
305 <role>org.codehaus.plexus.registry.Registry</role>
306 <role-hint>read-saved</role-hint>
309 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
310 <field-name>prePolicies</field-name>
313 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
314 <field-name>postPolicies</field-name>
318 <userConfigFilename>${basedir}/target/test/test-file.xml</userConfigFilename>
322 <role>org.codehaus.plexus.registry.Registry</role>
323 <role-hint>read-saved</role-hint>
324 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
339 <role>org.codehaus.plexus.registry.Registry</role>
340 <role-hint>cron-expressions</role-hint>
343 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
344 <field-name>prePolicies</field-name>
347 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
348 <field-name>postPolicies</field-name>
352 <userConfigFilename>${basedir}/target/test/test-file.xml</userConfigFilename>
356 <role>org.codehaus.plexus.registry.Registry</role>
357 <role-hint>cron-expressions</role-hint>
358 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
373 <role>org.codehaus.plexus.registry.Registry</role>
374 <role-hint>remove-central</role-hint>
377 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
378 <field-name>prePolicies</field-name>
381 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
382 <field-name>postPolicies</field-name>
386 <userConfigFilename>${basedir}/target/test/test-file.xml</userConfigFilename>
390 <role>org.codehaus.plexus.registry.Registry</role>
391 <role-hint>remove-central</role-hint>
392 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
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"/>
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>
407 <role>org.codehaus.plexus.registry.Registry</role>
408 <role-hint>not-allowed-to-write-to-both</role-hint>
411 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
412 <field-name>prePolicies</field-name>
415 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
416 <field-name>postPolicies</field-name>
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>
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>
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"/>
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>
444 <role>org.codehaus.plexus.registry.Registry</role>
445 <role-hint>not-allowed-to-write-to-user</role-hint>
448 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
449 <field-name>prePolicies</field-name>
452 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
453 <field-name>postPolicies</field-name>
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>
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>
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"/>
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>
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>
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>