]> source.dussan.org Git - archiva.git/blob
dacc17cc4e6a2e197a26c99116978e6c3027b546
[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     <component>
24       <role>org.codehaus.plexus.taskqueue.execution.TaskExecutor</role>
25       <role-hint>test-repository-scanning</role-hint>
26       <implementation>org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor
27       </implementation>
28       <requirements>
29         <requirement>
30           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
31           <field-name>archivaConfiguration</field-name>
32           <role-hint>test-repository-scanning</role-hint>
33         </requirement>
34         <requirement>
35           <role>org.apache.archiva.repository.scanner.RepositoryScanner</role>
36           <field-name>repoScanner</field-name>
37         </requirement>
38         <requirement>
39           <role>org.apache.archiva.metadata.repository.stats.RepositoryStatisticsManager</role>
40         </requirement>
41         <requirement>
42           <role>org.apache.archiva.metadata.repository.RepositorySessionFactory</role>
43         </requirement>
44       </requirements>
45     </component>
46
47     <component>
48       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
49       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
50       <role-hint>test-repository-scanning</role-hint>
51       <requirements>
52         <requirement>
53           <role>org.codehaus.plexus.registry.Registry</role>
54           <role-hint>test-configured</role-hint>
55         </requirement>
56         <requirement>
57           <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
58           <field-name>prePolicies</field-name>
59         </requirement>
60         <requirement>
61           <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
62           <field-name>postPolicies</field-name>
63         </requirement>
64       </requirements>
65     </component>
66
67     <component>
68       <role>org.codehaus.plexus.registry.Registry</role>
69       <role-hint>test-configured</role-hint>
70       <implementation>org.codehaus.redback.components.registry.commons.CommonsConfigurationRegistry</implementation>
71       <configuration>
72         <properties>
73           <![CDATA[
74           <configuration>
75           <system/>
76           <xml fileName="${basedir}/src/test/resources/archiva-test.xml"
77                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
78           </configuration>
79           ]]>
80         </properties>
81       </configuration>
82     </component>
83
84     <component>
85       <role>org.apache.archiva.metadata.repository.stats.RepositoryStatisticsManager</role>
86       <implementation>org.apache.archiva.scheduler.repository.TestRepositoryStatisticsManager</implementation>
87     </component>
88
89     <component>
90       <role>org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer</role>
91       <role-hint>test-consumer</role-hint>
92       <implementation>org.apache.archiva.scheduler.repository.TestConsumer</implementation>
93       <requirements>
94         <requirement>
95           <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
96         </requirement>
97       </requirements>
98     </component>
99
100     <component>
101       <role>org.apache.archiva.metadata.repository.RepositorySessionFactory</role>
102       <implementation>org.apache.archiva.metadata.repository.TestRepositorySessionFactory</implementation>
103     </component>
104   </components>
105 </component-set>