]> source.dussan.org Git - archiva.git/blob
403a063b82430391b88a0de557f013d8ad5f9bb1
[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 <plexus>
22   <components>
23     <!--
24      | Logger manager
25      -->
26     <component>
27       <role>org.codehaus.plexus.logging.LoggerManager</role>
28       <implementation>org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager</implementation>
29       <lifecycle-handler>basic</lifecycle-handler>
30     </component>
31
32     <component>
33       <role>org.codehaus.plexus.webdav.DavServerManager</role>
34       <role-hint>default</role-hint>
35       <implementation>org.codehaus.plexus.webdav.DefaultDavServerManager</implementation>
36       <description>DefaultDavServerManager</description>
37       <configuration>
38         <provider-hint>proxied</provider-hint>
39       </configuration>
40     </component>
41
42     <component>
43       <role>org.codehaus.plexus.jdo.JdoFactory</role>
44       <role-hint>users</role-hint>
45       <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
46       <configuration>
47
48         <!-- HSQLDB Configuration -->
49         <!--
50           NOTE: NO NOT USE THIS CONFIGURATION FOR A PRODUCTION SYSTEM.
51           HSQLDB keeps all data in memory at all times.
52
53           NOTE: JPOX 1.1.1 won't create the tables on start
54           http://www.jpox.org/servlet/jira/browse/CORE-2946
55             -->
56
57         <!-- 
58       <driverName>org.hsqldb.jdbcDriver</driverName>
59       <url>jdbc:hsqldb:mem:test</url>
60       <userName>sa</userName>
61       <password></password>
62         -->
63
64         <!-- Apache Derby Configuration -->
65         <driverName>org.apache.derby.jdbc.EmbeddedDriver</driverName>
66         <url>jdbc:derby:${basedir}/target/appserver-base/database;create=true</url>
67         <userName>sa</userName>
68         <password></password>
69
70         <!-- MySql Configuration -->
71         <!-- 
72         <driverName>com.mysql.jdbc.Driver</driverName>
73         <url>jdbc:mysql://localhost/archiva</url>
74         <userName>archiva</userName>
75         <password>archiva</password>
76           -->
77
78         <!-- Postgresql Configuration -->
79         <!--
80         <driverName>org.postgresql.Driver</driverName>
81         <url>jdbc:postgresql://localhost/continuum</url>
82         <userName>username</userName>
83         <password></password>
84         -->
85
86         <!-- JPOX and JDO configuration -->
87         <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
88         <otherProperties>
89           <property>
90             <name>javax.jdo.PersistenceManagerFactoryClass</name>
91             <value>org.jpox.PersistenceManagerFactoryImpl</value>
92           </property>
93           <property>
94             <name>org.jpox.autoCreateSchema</name>
95             <value>true</value>
96           </property>
97           <property>
98             <name>org.jpox.autoStartMechanism</name>
99             <value>SchemaTable</value>
100           </property>
101           <property>
102             <name>org.jpox.autoStartMechanismMode</name>
103             <value>Ignored</value>
104           </property>
105           <property>
106             <name>org.jpox.validateTables</name>
107             <value>false</value>
108           </property>
109           <property>
110             <name>org.jpox.validateConstraints</name>
111             <value>false</value>
112           </property>
113           <property>
114             <name>org.jpox.transactionIsolation</name>
115             <value>READ_UNCOMMITTED</value>
116           </property>
117           <property>
118             <name>org.jpox.poid.transactionIsolation</name>
119             <value>READ_UNCOMMITTED</value>
120           </property>
121           <property>
122             <name>org.jpox.rdbms.dateTimezone</name>
123             <value>JDK_DEFAULT_TIMEZONE</value>
124           </property>
125         </otherProperties>
126       </configuration>
127     </component>
128
129   </components>
130 </plexus>