]> source.dussan.org Git - archiva.git/blob
997d62b00a1baeda19787ea114f6e3b45998efc2
[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
23   <version>2</version>
24   
25   <repositoryScanning>
26     <fileTypes>
27       <fileType>
28         <id>artifacts</id>
29         <patterns>
30           <pattern>**/*.pom</pattern>
31           <pattern>**/*.jar</pattern>
32           <pattern>**/*.ear</pattern>
33           <pattern>**/*.war</pattern>
34           <pattern>**/*.car</pattern>
35           <pattern>**/*.sar</pattern>
36           <pattern>**/*.mar</pattern>
37           <pattern>**/*.rar</pattern>
38           <pattern>**/*.dtd</pattern>
39           <pattern>**/*.tld</pattern>
40           <pattern>**/*.tar.gz</pattern>
41           <pattern>**/*.tar.bz2</pattern>
42           <pattern>**/*.zip</pattern>
43         </patterns>
44       </fileType>
45       <fileType>
46         <id>indexable-content</id>
47         <patterns>
48           <pattern>**/*.txt</pattern>
49           <pattern>**/*.TXT</pattern>
50           <pattern>**/*.block</pattern>
51           <pattern>**/*.config</pattern>
52           <pattern>**/*.pom</pattern>
53           <pattern>**/*.xml</pattern>
54           <pattern>**/*.xsd</pattern>
55           <pattern>**/*.dtd</pattern>
56           <pattern>**/*.tld</pattern>
57         </patterns>
58       </fileType>
59       <fileType>
60         <id>auto-remove</id>
61         <patterns>
62           <pattern>**/*.bak</pattern>
63           <pattern>**/*~</pattern>
64           <pattern>**/*-</pattern>
65         </patterns>
66       </fileType>
67       <fileType>
68         <id>ignored</id>
69         <patterns>
70           <pattern>**/.htaccess</pattern>
71           <pattern>**/KEYS</pattern>
72           <pattern>**/*.rb</pattern>
73           <pattern>**/*.sh</pattern>
74           <pattern>**/.svn/**</pattern>
75           <pattern>**/.DAV/**</pattern>
76         </patterns>
77       </fileType>
78     </fileTypes>
79     <knownContentConsumers>
80       <knownContentConsumer>update-db-artifact</knownContentConsumer>
81       <knownContentConsumer>create-missing-checksums</knownContentConsumer>
82       <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
83       <knownContentConsumer>validate-checksum</knownContentConsumer>
84       <knownContentConsumer>validate-signature</knownContentConsumer>
85       <knownContentConsumer>index-content</knownContentConsumer>
86       <knownContentConsumer>auto-remove</knownContentConsumer>
87       <knownContentConsumer>auto-rename</knownContentConsumer>
88     </knownContentConsumers>
89     <invalidContentConsumers>
90       <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
91     </invalidContentConsumers>
92   </repositoryScanning>
93
94   <databaseScanning>
95     <cronExpression>0 0 * * * ?</cronExpression>
96     <unprocessedConsumers>
97       <unprocessedConsumer>index-artifact</unprocessedConsumer>
98       <unprocessedConsumer>update-db-project</unprocessedConsumer>
99       <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
100       <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
101       <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
102       <unprocessedConsumer>index-public-methods</unprocessedConsumer>
103     </unprocessedConsumers>
104     <cleanupConsumers>
105       <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
106       <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
107       <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
108     </cleanupConsumers>
109   </databaseScanning>
110
111 </configuration>