]> source.dussan.org Git - archiva.git/blob
86639b5259c4c3e36f11ce0c3e1e22c5c78ab09b
[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     <!-- JdoAccess -->
25     <component>
26       <role>org.apache.maven.archiva.database.jdo.JdoAccess</role>
27       <role-hint>archiva</role-hint>
28       <implementation>org.apache.maven.archiva.database.jdo.JdoAccess</implementation>
29       <requirements>
30         <requirement>
31           <role>org.codehaus.plexus.jdo.JdoFactory</role>
32           <role-hint>archiva</role-hint>
33         </requirement>
34       </requirements>
35     </component>
36
37     <!-- JDO Factory -->
38     <component>
39       <role>org.codehaus.plexus.jdo.JdoFactory</role>
40       <role-hint>archiva</role-hint>
41       <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
42       <configuration>
43         <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
44         <driverName>org.hsqldb.jdbcDriver</driverName>
45         <userName>sa</userName>
46         <password></password>
47         <url>jdbc:hsqldb:mem:testdb</url>
48         <otherProperties>
49           <property>
50             <name>javax.jdo.PersistenceManagerFactoryClass</name>
51             <value>org.jpox.PersistenceManagerFactoryImpl</value>
52           </property>
53         </otherProperties>
54       </configuration>
55     </component>
56
57   </components>
58 </component-set>