]> source.dussan.org Git - archiva.git/blob
2dbdc4889bbfcf6534e08381282b353a6cba90ff
[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 <plexus>
22   <components>
23     <!--
24      | Logger manager
25      -->
26     <component>
27       <role>org.codehaus.plexus.logging.LoggerManager</role>
28       <implementation>org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager</implementation>
29       <lifecycle-handler>basic</lifecycle-handler>
30     </component>
31
32     <!--
33      | Configuration
34      -->
35     <component>
36       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
37       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
38       <requirements>
39         <requirement>
40           <role>org.codehaus.plexus.registry.Registry</role>
41           <role-hint>configured</role-hint>
42         </requirement>
43         <requirement>
44           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
45           <field-name>prePolicies</field-name>
46         </requirement>
47         <requirement>
48           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
49           <field-name>postPolicies</field-name>
50         </requirement>
51       </requirements>
52     </component>
53     <component>
54       <role>org.codehaus.plexus.registry.Registry</role>
55       <role-hint>configured</role-hint>
56       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
57       <configuration>
58         <properties>
59           <system/>
60           <xml fileName="${appserver.base}/conf/archiva.xml"
61                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
62         </properties>
63       </configuration>
64     </component>
65     
66     <component>
67       <role>org.apache.maven.archiva.webdav.DavServerManager</role>
68       <role-hint>default</role-hint>
69       <implementation>org.apache.maven.archiva.webdav.DefaultDavServerManager</implementation>
70       <description>DefaultDavServerManager</description>
71       <requirements>
72         <requirement>
73           <role>org.apache.maven.archiva.webdav.DavServerComponent</role>
74           <role-hint>proxied</role-hint>
75         </requirement>
76       </requirements>
77     </component>
78     
79     <component>
80       <role>org.codehaus.plexus.cache.Cache</role>
81       <role-hint>url-failures-cache</role-hint>
82       <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation>
83       <description>URL Failure Cache</description>
84       <configuration>
85         <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds>
86         <disk-persistent>false</disk-persistent> <!--disabling disk persistence for unit testing. -->
87         <disk-store-path>${java.io.tmpdir}/archiva/urlcache</disk-store-path>
88         <eternal>false</eternal>
89         <max-elements-in-memory>1000</max-elements-in-memory>
90         <memory-eviction-policy>LRU</memory-eviction-policy>
91         <name>url-failures-cache</name>
92         <overflow-to-disk>false</overflow-to-disk>
93         <!-- 45 minutes = 2700 seconds -->
94         <time-to-idle-seconds>2700</time-to-idle-seconds>
95         <!-- 30 minutes = 1800 seconds  -->
96         <time-to-live-seconds>1800</time-to-live-seconds>
97       </configuration>
98     </component>
99     
100     <component>
101       <role>org.codehaus.plexus.redback.system.SecuritySystem</role>
102       <role-hint>default</role-hint>
103       <implementation>org.codehaus.plexus.redback.system.DefaultSecuritySystem</implementation>
104     </component>
105         
106         <component>
107       <role>org.apache.maven.archiva.webdav.ArchivaDavResourceFactory</role>
108       <implementation>org.apache.maven.archiva.webdav.ArchivaDavResourceFactory</implementation>
109       <requirements>
110         <requirement>
111           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
112           <field-name>archivaConfiguration</field-name>
113         </requirement>
114         <requirement>
115           <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
116           <field-name>repositoryFactory</field-name>
117         </requirement>        
118         <requirement>
119           <role>org.apache.maven.archiva.repository.content.RepositoryRequest</role>
120           <field-name>repositoryRequest</field-name>
121         </requirement>
122         <requirement>
123           <role>org.apache.maven.archiva.proxy.RepositoryProxyConnectors</role>
124           <field-name>connectors</field-name>
125         </requirement>
126         <requirement>
127           <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
128           <field-name>metadataTools</field-name>
129         </requirement>
130         <requirement>
131           <role>org.apache.maven.archiva.security.ServletAuthenticator</role>
132           <field-name>servletAuth</field-name>
133         </requirement>
134         <requirement>
135           <role>org.apache.maven.archiva.webdav.util.MimeTypes</role>
136           <field-name>mimeTypes</field-name>
137         </requirement>
138         <requirement>
139           <role>org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator</role>
140           <role-hint>basic</role-hint>
141           <field-name>httpAuth</field-name>
142         </requirement>
143         <requirement>
144           <role>org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers</role>
145           <role-hint>default</role-hint>
146         </requirement>
147         <requirement>
148           <role>org.codehaus.plexus.digest.ChecksumFile</role>
149           <field-name>checksum</field-name>
150         </requirement>
151         <requirement>
152           <role>org.codehaus.plexus.digest.Digester</role>
153           <role-hint>sha1</role-hint>
154           <field-name>digestSha1</field-name>
155         </requirement>
156         <requirement>
157           <role>org.codehaus.plexus.digest.Digester</role>
158           <role-hint>md5</role-hint>
159           <field-name>digestMd5</field-name>
160         </requirement>
161         <requirement>
162           <role>org.apache.maven.archiva.security.ArchivaXworkUser</role>
163           <field-name>archivaXworkUser</field-name>
164         </requirement>        
165       </requirements>
166     </component>
167   </components>
168 </plexus>