]> source.dussan.org Git - archiva.git/blob
ef7cbef6d7497775ddfbc36b6ae901c28c984ba4
[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.database.updater.DatabaseCleanupConsumer</role>
26       <role-hint>lucene-cleanup</role-hint>
27       <implementation>org.apache.maven.archiva.consumers.lucene.LuceneCleanupRemoveIndexedConsumer</implementation>
28       <requirements>
29         <requirement>
30           <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
31           <role-hint>lucene-cleanup</role-hint>
32           <field-name>repoIndexFactory</field-name>
33         </requirement>
34         <requirement>
35           <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
36         </requirement>
37       </requirements>
38     </component>
39     <component>
40       <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
41       <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
42       <requirements>
43         <requirement>
44           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
45           <role-hint>lucene-cleanup</role-hint>          
46         </requirement>
47       </requirements>
48     </component>
49     <component>
50       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
51       <role-hint>lucene-cleanup</role-hint>
52       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
53       <requirements>
54         <requirement>
55           <role>org.codehaus.plexus.registry.Registry</role>
56           <role-hint>lucene-cleanup</role-hint>
57         </requirement>
58         <requirement>
59           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
60           <field-name>prePolicies</field-name>
61         </requirement>
62         <requirement>
63           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
64           <field-name>postPolicies</field-name>
65         </requirement>
66       </requirements>
67     </component>
68     <component>
69       <role>org.codehaus.plexus.registry.Registry</role>
70       <role-hint>lucene-cleanup</role-hint>
71       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
72       <configuration>
73         <properties>
74           <xml fileName="${basedir}/src/test/conf/repository-manager.xml"
75                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
76         </properties>
77       </configuration>
78     </component>
79     <component>
80       <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
81       <implementation>org.apache.maven.archiva.consumers.lucene.stubs.LuceneRepositoryContentIndexFactoryStub</implementation>
82       <role-hint>lucene-cleanup</role-hint>
83     </component>
84     
85   </components>
86 </component-set>