]> source.dussan.org Git - archiva.git/blob
723f4c6b816a2899851a943604de874e00db20f9
[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.log4j.Log4JLoggerManager</implementation>
29       <lifecycle-handler>basic</lifecycle-handler>
30
31       <configuration>
32         <threshold>DEBUG</threshold>
33         <default-appender>console</default-appender>
34         <appenders>
35           <appender>
36             <id>console</id>
37             <threshold>DEBUG</threshold>
38             <type>org.apache.log4j.ConsoleAppender</type>
39             <!--  <conversion-pattern>%d [%t] %-5p %-30c{1} - %m%n</conversion-pattern> -->
40             <conversion-pattern>%r [%t] %-5p %c %x - %m%n</conversion-pattern>
41           </appender>
42         </appenders>
43         <levels>
44           <!-- Help identify bugs during testing -->
45           <level>
46             <hierarchy>org.apache.maven</hierarchy>
47             <level>DEBUG</level>
48           </level>
49           <level>
50             <hierarchy>org.codehaus.plexus.security</hierarchy>
51             <level>DEBUG</level>
52           </level>
53           <!-- squelch noisy objects (for now) -->
54           <level>
55             <hierarchy>org.codehaus.plexus.mailsender.MailSender</hierarchy>
56             <level>INFO</level>
57           </level>
58           <level>
59             <hierarchy>org.quartz</hierarchy>
60             <level>INFO</level>
61           </level>
62           <level>
63             <hierarchy>org.apache.jasper</hierarchy>
64             <level>INFO</level>
65           </level>
66           <level>
67             <hierarchy>com.opensymphony.xwork</hierarchy>
68             <level>DEBUG</level>
69           </level>
70           <level>
71             <hierarchy>com.opensymphony.webwork</hierarchy>
72             <level>DEBUG</level>
73           </level>
74           <level>
75             <hierarchy>org.codehaus.plexus.PlexusContainer</hierarchy>
76             <level>INFO</level>
77           </level>
78           <level>
79             <hierarchy>JPOX</hierarchy>
80             <level>WARN</level>
81           </level>
82           <level>
83             <hierarchy>freemarker</hierarchy>
84             <level>WARN</level>
85           </level>
86           <level>
87             <hierarchy>freemarker</hierarchy>
88             <level>WARN</level>
89           </level>
90         </levels>
91       </configuration>
92     </component>
93
94
95     <component>
96       <role>org.codehaus.plexus.jdo.JdoFactory</role>
97       <role-hint>users</role-hint>
98       <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
99       <configuration>
100
101         <!-- HSQLDB Configuration -->
102         <!--
103           NOTE: NO NOT USE THIS CONFIGURATION FOR A PRODUCTION SYSTEM.
104           HSQLDB keeps all data in memory at all times.
105
106           NOTE: JPOX 1.1.1 won't create the tables on start
107           http://www.jpox.org/servlet/jira/browse/CORE-2946
108             -->
109
110         <!-- 
111       <driverName>org.hsqldb.jdbcDriver</driverName>
112       <url>jdbc:hsqldb:mem:test</url>
113       <userName>sa</userName>
114       <password></password>
115         -->
116
117         <!-- Apache Derby Configuration -->
118         <driverName>org.apache.derby.jdbc.EmbeddedDriver</driverName>
119         <url>jdbc:derby:${basedir}/target/repoaccess/database;create=true</url>
120         <userName>sa</userName>
121         <password></password>
122
123         <!-- MySql Configuration -->
124         <!-- 
125         <driverName>com.mysql.jdbc.Driver</driverName>
126         <url>jdbc:mysql://localhost/archiva</url>
127         <userName>archiva</userName>
128         <password>archiva</password>
129           -->
130
131         <!-- Postgresql Configuration -->
132         <!--
133         <driverName>org.postgresql.Driver</driverName>
134         <url>jdbc:postgresql://localhost/continuum</url>
135         <userName>username</userName>
136         <password></password>
137         -->
138
139         <!-- JPOX and JDO configuration -->
140         <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
141         <otherProperties>
142           <property>
143             <name>javax.jdo.PersistenceManagerFactoryClass</name>
144             <value>org.jpox.PersistenceManagerFactoryImpl</value>
145           </property>
146           <property>
147             <name>org.jpox.autoCreateSchema</name>
148             <value>true</value>
149           </property>
150           <property>
151             <name>org.jpox.autoStartMechanism</name>
152             <value>SchemaTable</value>
153           </property>
154           <property>
155             <name>org.jpox.autoStartMechanismMode</name>
156             <value>Ignored</value>
157           </property>
158           <property>
159             <name>org.jpox.validateTables</name>
160             <value>false</value>
161           </property>
162           <property>
163             <name>org.jpox.validateConstraints</name>
164             <value>false</value>
165           </property>
166           <property>
167             <name>org.jpox.transactionIsolation</name>
168             <value>READ_UNCOMMITTED</value>
169           </property>
170           <property>
171             <name>org.jpox.poid.transactionIsolation</name>
172             <value>READ_UNCOMMITTED</value>
173           </property>
174           <property>
175             <name>org.jpox.rdbms.dateTimezone</name>
176             <value>JDK_DEFAULT_TIMEZONE</value>
177           </property>
178         </otherProperties>
179       </configuration>
180     </component>
181
182   </components>
183 </plexus>