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 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
25 <role-hint>database-cleanup</role-hint>
26 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
29 <role>org.codehaus.plexus.registry.Registry</role>
30 <role-hint>database-cleanup</role-hint>
33 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
34 <field-name>prePolicies</field-name>
37 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
38 <field-name>postPolicies</field-name>
43 <role>org.codehaus.plexus.registry.Registry</role>
44 <role-hint>database-cleanup</role-hint>
45 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
48 <xml fileName="${basedir}/target/test/repository-manager.xml" config-optional="true" config-forceCreate="true"
49 config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
55 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
56 <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
59 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
60 <role-hint>database-cleanup</role-hint>
67 <role>org.codehaus.plexus.cache.Cache</role>
68 <role-hint>effective-project-cache</role-hint>
69 <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation>
70 <description>Effective Project Cache</description>
72 <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds>
73 <disk-persistent>true</disk-persistent>
74 <disk-store-path>${java.io.tmpdir}/archiva/effectiveproject</disk-store-path>
75 <eternal>true</eternal>
76 <max-elements-in-memory>1000</max-elements-in-memory>
77 <memory-eviction-policy>LRU</memory-eviction-policy>
78 <name>effective-project-cache</name>
79 <overflow-to-disk>false</overflow-to-disk>
80 <!-- TODO: Adjust the time to live to be more sane (ie: huge 4+ hours) -->
81 <!-- 45 minutes = 2700 seconds -->
82 <time-to-idle-seconds>2700</time-to-idle-seconds>
83 <!-- 30 minutes = 1800 seconds -->
84 <time-to-live-seconds>1800</time-to-live-seconds>