1 <?xml version="1.0" encoding="ISO-8859-1"?>
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
11 ~ http://www.apache.org/licenses/LICENSE-2.0
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
27 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
28 <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
31 <role>org.codehaus.plexus.registry.Registry</role>
32 <role-hint>configured</role-hint>
35 <role>org.apache.maven.archiva.policies.PreDownloadPolicy</role>
36 <field-name>prePolicies</field-name>
39 <role>org.apache.maven.archiva.policies.PostDownloadPolicy</role>
40 <field-name>postPolicies</field-name>
45 <role>org.codehaus.plexus.registry.Registry</role>
46 <role-hint>configured</role-hint>
47 <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
51 <xml fileName="${appserver.base}/conf/archiva.xml"
52 config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
58 <role>org.apache.maven.archiva.webdav.DavServerManager</role>
59 <role-hint>default</role-hint>
60 <implementation>org.apache.maven.archiva.webdav.DefaultDavServerManager</implementation>
61 <description>DefaultDavServerManager</description>
64 <role>org.apache.maven.archiva.webdav.DavServerComponent</role>
65 <role-hint>proxied</role-hint>
71 <role>org.codehaus.plexus.cache.Cache</role>
72 <role-hint>url-failures-cache</role-hint>
73 <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation>
74 <description>URL Failure Cache</description>
76 <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds>
77 <disk-persistent>false</disk-persistent> <!--disabling disk persistence for unit testing. -->
78 <disk-store-path>${java.io.tmpdir}/archiva/urlcache</disk-store-path>
79 <eternal>false</eternal>
80 <max-elements-in-memory>1000</max-elements-in-memory>
81 <memory-eviction-policy>LRU</memory-eviction-policy>
82 <name>url-failures-cache</name>
83 <overflow-to-disk>false</overflow-to-disk>
84 <!-- 45 minutes = 2700 seconds -->
85 <time-to-idle-seconds>2700</time-to-idle-seconds>
86 <!-- 30 minutes = 1800 seconds -->
87 <time-to-live-seconds>1800</time-to-live-seconds>
92 <role>org.codehaus.plexus.redback.system.SecuritySystem</role>
93 <role-hint>default</role-hint>
94 <implementation>org.apache.maven.archiva.webdav.BypassSecuritySystem</implementation>
98 <role>org.apache.maven.archiva.security.ServletAuthenticator</role>
99 <implementation>org.apache.maven.archiva.webdav.MockServletAuthenticator</implementation>
102 <role>org.codehaus.plexus.redback.system.SecuritySystem</role>
103 <field-name>securitySystem</field-name>
109 <role>org.apache.maven.archiva.webdav.ArchivaDavResourceFactory</role>
110 <implementation>org.apache.maven.archiva.webdav.UnauthenticatedDavResourceFactory</implementation>
113 <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
114 <field-name>archivaConfiguration</field-name>
117 <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>
118 <field-name>repositoryFactory</field-name>
121 <role>org.apache.maven.archiva.repository.content.RepositoryRequest</role>
122 <field-name>repositoryRequest</field-name>
125 <role>org.apache.maven.archiva.proxy.RepositoryProxyConnectors</role>
126 <field-name>connectors</field-name>
129 <role>org.apache.maven.archiva.repository.metadata.MetadataTools</role>
130 <field-name>metadataTools</field-name>
133 <role>org.apache.maven.archiva.security.ServletAuthenticator</role>
134 <field-name>servletAuth</field-name>
137 <role>org.apache.maven.archiva.webdav.util.MimeTypes</role>
138 <field-name>mimeTypes</field-name>
141 <role>org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator</role>
142 <role-hint>basic</role-hint>
143 <field-name>httpAuth</field-name>
146 <role>org.apache.archiva.repository.scanner.RepositoryContentConsumers</role>
147 <role-hint>default</role-hint>
150 <role>org.codehaus.plexus.digest.ChecksumFile</role>
151 <field-name>checksum</field-name>
154 <role>org.codehaus.plexus.digest.Digester</role>
155 <role-hint>sha1</role-hint>
156 <field-name>digestSha1</field-name>
159 <role>org.codehaus.plexus.digest.Digester</role>
160 <role-hint>md5</role-hint>
161 <field-name>digestMd5</field-name>
164 <role>org.apache.archiva.scheduler.ArchivaTaskScheduler</role>
165 <role-hint>repository</role-hint>
166 <field-name>scheduler</field-name>
171 <role>org.codehaus.plexus.jdo.JdoFactory</role>
172 <role-hint>archiva</role-hint>
173 <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
176 <!-- Database Configuration -->
177 <driverName>org.hsqldb.jdbcDriver</driverName>
178 <url>jdbc:hsqldb:mem:TESTDB</url>
179 <userName>sa</userName>
180 <password></password>
182 <!-- JPOX and JDO configuration -->
183 <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
186 <name>javax.jdo.PersistenceManagerFactoryClass</name>
187 <value>org.jpox.PersistenceManagerFactoryImpl</value>
190 <name>org.jpox.autoCreateSchema</name>
194 <name>org.jpox.validateTables</name>
198 <name>org.jpox.validateConstraints</name>
202 <name>org.jpox.validateColumns</name>
206 <name>org.jpox.autoStartMechanism</name>
210 <name>org.jpox.transactionIsolation</name>
211 <value>READ_UNCOMMITTED</value>
214 <name>org.jpox.poid.transactionIsolation</name>
215 <value>READ_UNCOMMITTED</value>
218 <name>org.jpox.rdbms.dateTimezone</name>
219 <value>JDK_DEFAULT_TIMEZONE</value>