]> source.dussan.org Git - archiva.git/blob
4e2e394cbad09103647917f57250374fae890877
[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 <configuration>
22   <version>1</version>
23   <repositories>
24     <repository>
25       <id>test-repo</id>
26       <name>Test Repository</name>
27       <url>file://src/test/resources/test-repo</url>
28       <layout>default</layout>
29       <releases>true</releases>
30       <snapshots>true</snapshots>
31       <indexed>true</indexed>
32       <refreshCronExpression>0 0 * * ?</refreshCronExpression>
33       <daysOlder>0</daysOlder>
34       <retentionCount>2</retentionCount>
35     </repository>
36   </repositories>
37
38   <proxyConnectors/>
39
40   <networkProxies>
41     <networkProxy>
42       <id>example</id>
43       <protocol>http</protocol>
44       <host>proxy.mycompany.com</host>
45       <port>8080</port>
46       <username>myself</username>
47       <password>mypass</password>
48     </networkProxy>
49   </networkProxies>
50
51   <repositoryScanning>
52     <fileTypes>
53       <fileType>
54         <id>artifacts</id>
55         <patterns>
56           <pattern>**/*.pom</pattern>
57           <pattern>**/*.jar</pattern>
58           <pattern>**/*.ear</pattern>
59           <pattern>**/*.war</pattern>
60         </patterns>
61       </fileType>
62       <fileType>
63         <id>indexable-content</id>
64         <patterns>
65           <pattern>**/*.txt</pattern>
66           <pattern>**/*.TXT</pattern>
67         </patterns>
68       </fileType>
69       <fileType>
70         <id>auto-remove</id>
71         <patterns>
72           <pattern>**/*.bak</pattern>
73           <pattern>**/*~</pattern>
74           <pattern>**/*-</pattern>
75         </patterns>
76       </fileType>
77       <fileType>
78         <id>ignored</id>
79         <patterns>
80           <pattern>**/.htaccess</pattern>
81           <pattern>**/KEYS</pattern>
82           <pattern>**/*.rb</pattern>
83           <pattern>**/*.sh</pattern>
84           <pattern>**/.svn/**</pattern>
85           <pattern>**/.DAV/**</pattern>
86         </patterns>
87       </fileType>
88     </fileTypes>
89     <knownContentConsumers>
90       <knownContentConsumer>update-db-artifact</knownContentConsumer>
91       <knownContentConsumer>create-missing-checksums</knownContentConsumer>
92       <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
93       <knownContentConsumer>validate-checksum</knownContentConsumer>
94       <knownContentConsumer>validate-signature</knownContentConsumer>
95       <knownContentConsumer>index-content</knownContentConsumer>
96       <knownContentConsumer>auto-remove</knownContentConsumer>
97       <knownContentConsumer>auto-rename</knownContentConsumer>
98       <knownContentConsumer>repository-purge</knownContentConsumer>
99     </knownContentConsumers>
100     <invalidContentConsumers>
101       <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
102     </invalidContentConsumers>
103   </repositoryScanning>
104
105   <databaseScanning>
106     <cronExpression>0 0 * * ?</cronExpression>
107     <unprocessedConsumers>
108       <unprocessedConsumer>index-artifact</unprocessedConsumer>
109       <unprocessedConsumer>update-db-project</unprocessedConsumer>
110       <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
111       <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
112       <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
113       <unprocessedConsumer>index-public-methods</unprocessedConsumer>
114     </unprocessedConsumers>
115     <cleanupConsumers>
116       <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
117       <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
118       <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
119     </cleanupConsumers>
120   </databaseScanning>
121
122   <webapp>
123     <ui>
124       <showFindArtifacts>true</showFindArtifacts>
125       <appletFindEnabled>true</appletFindEnabled>
126     </ui>
127   </webapp>
128
129 </configuration>