]> source.dussan.org Git - archiva.git/blob
764e9d8bb55ca27783756c18475a69d960374c7d
[archiva.git] /
1 <component-set>
2   <components>
3     <component>
4       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
5       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
6       <instanciation-strategy>per-lookup</instanciation-strategy>
7       <description>&lt;p&gt;
8 Implementation of configuration holder that retrieves it from the registry.</description>
9       <requirements>
10         <requirement>
11           <role>org.codehaus.plexus.registry.Registry</role>
12           <role-hint>commons-configuration</role-hint>
13           <field-name>registry</field-name>
14         </requirement>
15         <requirement>
16           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
17           <field-name>prePolicies</field-name>
18         </requirement>
19         <requirement>
20           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
21           <field-name>postPolicies</field-name>
22         </requirement>
23       </requirements>
24       <configuration>
25         <user-config-filename>${user.home}/.m2/archiva.xml</user-config-filename>
26         <alt-config-filename>${appserver.base}/conf/archiva.xml</alt-config-filename>
27       </configuration>
28     </component>
29     <component>
30       <role>org.apache.maven.archiva.configuration.FileTypes</role>
31       <implementation>org.apache.maven.archiva.configuration.FileTypes</implementation>
32       <description>FileTypes</description>
33       <requirements>
34         <requirement>
35           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
36           <field-name>archivaConfiguration</field-name>
37         </requirement>
38       </requirements>
39     </component>
40   </components>
41 </component-set>