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