]> source.dussan.org Git - archiva.git/blob
1d8e829cccf00e55b2070c0abf50423d4653cbe6
[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.maven.archiva.scheduled.executors.ArchivaRepositoryScanningTaskExecutor</implementation>
27       <description></description>
28       <requirements>
29         <requirement>
30           <role>org.apache.maven.archiva.database.ArchivaDAO</role>
31           <role-hint>jdo</role-hint>
32           <field-name>dao</field-name>
33         </requirement>
34         <requirement>
35           <role>org.apache.maven.archiva.database.RepositoryDAO</role>
36           <role-hint>jdo</role-hint>
37           <field-name>repositoryDAO</field-name>
38         </requirement>
39         <requirement>
40           <role>org.apache.maven.archiva.repository.scanner.RepositoryScanner</role>
41           <field-name>repoScanner</field-name>
42         </requirement>
43       </requirements>
44     </component>
45
46     <component>
47       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
48       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
49       <requirements>
50         <requirement>
51           <role>org.codehaus.plexus.registry.Registry</role>
52           <role-hint>configured</role-hint>
53         </requirement>
54       </requirements>
55     </component>
56     
57     <component>
58       <role>org.codehaus.plexus.registry.Registry</role>
59       <role-hint>configured</role-hint>
60       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
61       <configuration>
62         <properties>
63           <system/>
64           <xml fileName="${basedir}/src/test/resources/archiva-test.xml"
65                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
66         </properties>
67       </configuration>
68     </component>
69     
70     <component>
71       <role>org.codehaus.plexus.jdo.JdoFactory</role>
72       <role-hint>archiva</role-hint>
73       <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
74       <configuration>
75         <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
76         <otherProperties>
77           <property>
78             <name>javax.jdo.PersistenceManagerFactoryClass</name>
79             <value>org.jpox.PersistenceManagerFactoryImpl</value>
80           </property>
81         </otherProperties>
82       </configuration>
83     </component>
84  
85   </components>
86 </component-set>