]> source.dussan.org Git - archiva.git/blob
5a7d8101b265a05f54958361a3215f1532ebd96f
[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.registry.Registry</role>
25       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
26       <role-hint>commons-configuration</role-hint>
27       <configuration>
28         <properties>
29           <xml fileName="${basedir}/src/test/conf/archiva.xml"
30                config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/>
31         </properties>
32       </configuration>
33     </component>
34     
35     <component>
36       <role>org.codehaus.plexus.jdo.JdoFactory</role>
37       <role-hint>archiva</role-hint>
38       <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
39       
40       <configuration>
41         <!-- Database Configuration -->
42         <driverName>org.hsqldb.jdbcDriver</driverName>
43         <url>jdbc:hsqldb:mem:TESTDB</url>
44         <userName>sa</userName>
45         <password></password>
46         
47         <!-- JPOX and JDO configuration -->
48         <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
49         <otherProperties>
50           <property>
51             <name>javax.jdo.PersistenceManagerFactoryClass</name>
52             <value>org.jpox.PersistenceManagerFactoryImpl</value>
53           </property>
54           <property>
55             <name>org.jpox.autoCreateSchema</name>
56             <value>true</value>
57           </property>
58           <property>
59             <name>org.jpox.validateTables</name>
60             <value>false</value>
61           </property>
62           <property>
63             <name>org.jpox.validateConstraints</name>
64             <value>false</value>
65           </property>
66           <property>
67             <name>org.jpox.validateColumns</name>
68             <value>false</value>
69           </property>
70           <property>
71             <name>org.jpox.autoStartMechanism</name>
72             <value>None</value>
73           </property>
74           <property>
75             <name>org.jpox.transactionIsolation</name>
76             <value>READ_UNCOMMITTED</value>
77           </property>
78           <property>
79             <name>org.jpox.poid.transactionIsolation</name>
80             <value>READ_UNCOMMITTED</value>
81           </property>
82           <property>
83             <name>org.jpox.rdbms.dateTimezone</name>
84             <value>JDK_DEFAULT_TIMEZONE</value>
85           </property>
86         </otherProperties>
87       </configuration>
88     </component>    
89   </components>
90 </component-set>