]> source.dussan.org Git - archiva.git/blob
016231648df57aa4e81b5f7f3e755b566f2bebc5
[archiva.git] /
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3   ~ Copyright 2005-2006 The Apache Software Foundation.
4   ~
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~      http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17
18 <plexus>
19   <components>
20     <!--
21      | Logger manager
22      -->
23     <component>
24       <role>org.codehaus.plexus.logging.LoggerManager</role>
25       <implementation>org.codehaus.plexus.logging.log4j.Log4JLoggerManager</implementation>
26       <lifecycle-handler>basic</lifecycle-handler>
27
28       <configuration>
29         <threshold>DEBUG</threshold>
30         <default-appender>console</default-appender>
31         <appenders>
32           <appender>
33             <id>console</id>
34             <threshold>DEBUG</threshold>
35             <type>org.apache.log4j.ConsoleAppender</type>
36             <!--  <conversion-pattern>%d [%t] %-5p %-30c{1} - %m%n</conversion-pattern> -->
37             <conversion-pattern>%r [%t] %-5p %c %x - %m%n</conversion-pattern>
38           </appender>
39         </appenders>
40         <levels>
41           <!-- Help identify bugs during testing -->
42           <level>
43             <hierarchy>org.apache.maven</hierarchy>
44             <level>DEBUG</level>
45           </level>
46           <level>
47             <hierarchy>org.codehaus.plexus.security</hierarchy>
48             <level>DEBUG</level>
49           </level>
50           <!-- squelch noisy objects (for now) -->
51           <level>
52             <hierarchy>org.codehaus.plexus.mailsender.MailSender</hierarchy>
53             <level>INFO</level>
54           </level>
55           <level>
56             <hierarchy>org.quartz</hierarchy>
57             <level>INFO</level>
58           </level>
59           <level>
60             <hierarchy>org.apache.jasper</hierarchy>
61             <level>INFO</level>
62           </level>
63           <level>
64             <hierarchy>com.opensymphony.xwork</hierarchy>
65             <level>DEBUG</level>
66           </level>
67           <level>
68             <hierarchy>com.opensymphony.webwork</hierarchy>
69             <level>DEBUG</level>
70           </level>
71           <level>
72             <hierarchy>org.codehaus.plexus.PlexusContainer</hierarchy>
73             <level>INFO</level>
74           </level>
75           <level>
76             <hierarchy>JPOX</hierarchy>
77             <level>WARN</level>
78           </level>
79           <level>
80             <hierarchy>freemarker</hierarchy>
81             <level>WARN</level>
82           </level>
83           <level>
84             <hierarchy>freemarker</hierarchy>
85             <level>WARN</level>
86           </level>
87         </levels>
88       </configuration>
89     </component>
90
91
92     <component>
93       <role>org.codehaus.plexus.jdo.JdoFactory</role>
94       <role-hint>users</role-hint>
95       <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
96       <configuration>
97
98         <!-- HSQLDB Configuration -->
99         <!--
100           NOTE: NO NOT USE THIS CONFIGURATION FOR A PRODUCTION SYSTEM.
101           HSQLDB keeps all data in memory at all times.
102
103           NOTE: JPOX 1.1.1 won't create the tables on start
104           http://www.jpox.org/servlet/jira/browse/CORE-2946
105             -->
106          
107         <!-- 
108         <driverName>org.hsqldb.jdbcDriver</driverName>
109         <url>jdbc:hsqldb:mem:test</url>
110         <userName>sa</userName>
111         <password></password>
112           --> 
113
114         <!-- Apache Derby Configuration -->
115         <driverName>org.apache.derby.jdbc.EmbeddedDriver</driverName>
116         <url>jdbc:derby:${basedir}/target/repoaccess/database;create=true</url>
117         <userName>sa</userName>
118         <password></password>
119         
120         <!-- MySql Configuration -->
121         <!-- 
122         <driverName>com.mysql.jdbc.Driver</driverName>
123         <url>jdbc:mysql://localhost/archiva</url>
124         <userName>archiva</userName>
125         <password>archiva</password>
126           -->
127
128         <!-- Postgresql Configuration -->
129         <!--
130         <driverName>org.postgresql.Driver</driverName>
131         <url>jdbc:postgresql://localhost/continuum</url>
132         <userName>username</userName>
133         <password></password>
134         -->
135
136         <!-- JPOX and JDO configuration -->
137         <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
138         <otherProperties>
139           <property>
140             <name>javax.jdo.PersistenceManagerFactoryClass</name>
141             <value>org.jpox.PersistenceManagerFactoryImpl</value>
142           </property>
143           <property>
144             <name>org.jpox.autoCreateSchema</name>
145             <value>true</value>
146           </property>
147           <property>
148             <name>org.jpox.autoStartMechanism</name>
149             <value>SchemaTable</value>
150           </property>
151           <property>
152             <name>org.jpox.autoStartMechanismMode</name>
153             <value>Ignored</value>
154           </property>
155           <property>
156             <name>org.jpox.validateTables</name>
157             <value>false</value>
158           </property>
159           <property>
160             <name>org.jpox.validateConstraints</name>
161             <value>false</value>
162           </property>
163           <property>
164             <name>org.jpox.transactionIsolation</name>
165             <value>READ_UNCOMMITTED</value>
166           </property>
167           <property>
168             <name>org.jpox.poid.transactionIsolation</name>
169             <value>READ_UNCOMMITTED</value>
170           </property>
171           <property>
172             <name>org.jpox.rdbms.dateTimezone</name>
173             <value>JDK_DEFAULT_TIMEZONE</value>
174           </property>
175         </otherProperties>
176       </configuration>
177     </component>
178
179   </components>
180 </plexus>