aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-maven/archiva-maven-repository/src/test/resources/scanner-archiva.xml
blob: de6b2b62f3121205b889fd08f2cb9eb87be68807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

<configuration>
  <version>3.0.0</version>
  <repositoryScanning>
    <fileTypes>
      <fileType>
        <id>artifacts</id>
        <patterns>
          <pattern>**/*.pom</pattern>
          <pattern>**/*.jar</pattern>
          <pattern>**/*.ear</pattern>
          <pattern>**/*.war</pattern>
          <pattern>**/*.car</pattern>
          <pattern>**/*.sar</pattern>
          <pattern>**/*.mar</pattern>
          <pattern>**/*.rar</pattern>
          <pattern>**/*.dtd</pattern>
          <pattern>**/*.tld</pattern>
          <pattern>**/*.tar.gz</pattern>
          <pattern>**/*.tar.bz2</pattern>
          <pattern>**/*.zip</pattern>
        </patterns>
      </fileType>
      <fileType>
        <id>indexable-content</id>
        <patterns>
          <pattern>**/*.txt</pattern>
          <pattern>**/*.TXT</pattern>
          <pattern>**/*.block</pattern>
          <pattern>**/*.config</pattern>
          <pattern>**/*.pom</pattern>
          <pattern>**/*.xml</pattern>
          <pattern>**/*.xsd</pattern>
          <pattern>**/*.dtd</pattern>
          <pattern>**/*.tld</pattern>
        </patterns>
      </fileType>
      <fileType>
        <id>auto-remove</id>
        <patterns>
          <pattern>**/*.bak</pattern>
          <pattern>**/*~</pattern>
          <pattern>**/*-</pattern>
        </patterns>
      </fileType>
      <fileType>
        <id>ignored</id>
        <patterns>
          <pattern>**/.htaccess</pattern>
          <pattern>**/KEYS</pattern>
          <pattern>**/*.rb</pattern>
          <pattern>**/*.sh</pattern>
          <pattern>**/.svn/**</pattern>
          <pattern>**/.DAV/**</pattern>
        </patterns>
      </fileType>
    </fileTypes>
    <knownContentConsumers>
      <knownContentConsumer>update-db-artifact</knownContentConsumer>
      <knownContentConsumer>create-missing-checksums</knownContentConsumer>
      <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
      <knownContentConsumer>validate-checksum</knownContentConsumer>
      <knownContentConsumer>validate-signature</knownContentConsumer>
      <knownContentConsumer>index-content</knownContentConsumer>
      <knownContentConsumer>auto-remove</knownContentConsumer>
      <knownContentConsumer>auto-rename</knownContentConsumer>
    </knownContentConsumers>
    <invalidContentConsumers>
      <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
    </invalidContentConsumers>
  </repositoryScanning>

  <databaseScanning>
    <cronExpression>0 0 * * * ?</cronExpression>
    <unprocessedConsumers>
      <unprocessedConsumer>index-artifact</unprocessedConsumer>
      <unprocessedConsumer>update-db-project</unprocessedConsumer>
      <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
      <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
      <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
      <unprocessedConsumer>index-public-methods</unprocessedConsumer>
    </unprocessedConsumers>
    <cleanupConsumers>
      <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
      <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
      <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
    </cleanupConsumers>
  </databaseScanning>

</configuration>