]> source.dussan.org Git - archiva.git/blob
5705f846064e9ab15798688ce62ae5740463af06
[archiva.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <configuration>
3   <version>2</version>
4   <managedRepositories>
5     <managedRepository>
6       <id>internal</id>
7       <name>Archiva Managed Internal Repository</name>
8       <location>${appserver.base}/data/repositories/internal</location>
9       <layout>default</layout>
10       <releases>true</releases>
11       <snapshots>false</snapshots>
12       <blockRedeployments>true</blockRedeployments>
13       <scanned>true</scanned>
14       <refreshCronExpression>0 0 * * * ?</refreshCronExpression>
15       <daysOlder>30</daysOlder>
16     </managedRepository>
17     <managedRepository>
18       <id>snapshots</id>
19       <name>Archiva Managed Snapshot Repository</name>
20       <location>${appserver.base}/data/repositories/snapshots</location>
21       <layout>default</layout>
22       <releases>false</releases>
23       <snapshots>true</snapshots>
24       <blockRedeployments>false</blockRedeployments>
25       <scanned>true</scanned>
26       <refreshCronExpression>0 0\,30 * * * ?</refreshCronExpression>
27       <daysOlder>30</daysOlder>
28     </managedRepository>
29   </managedRepositories>
30   <remoteRepositories>
31     <remoteRepository>
32       <id>central</id>
33       <name>Central Repository</name>
34       <url>http://repo1.maven.org/maven2</url>
35       <layout>default</layout>
36     </remoteRepository>
37   </remoteRepositories>
38
39   <proxyConnectors>
40     <proxyConnector>
41       <sourceRepoId>internal</sourceRepoId>
42       <targetRepoId>central</targetRepoId>
43       <proxyId/>
44       <policies>
45         <snapshots>disabled</snapshots>
46         <releases>once</releases>
47         <checksum>fix</checksum>
48         <cache-failures>cached</cache-failures>
49       </policies>
50       <whiteListPatterns>
51         <whiteListPattern>**/*</whiteListPattern>
52       </whiteListPatterns>
53     </proxyConnector>
54   </proxyConnectors>
55
56   <legacyArtifactPaths>
57     <legacyArtifactPath>
58         <path>jaxen/jars/jaxen-1.0-FCS-full.jar</path>
59         <artifact>jaxen:jaxen:1.0-FCS:full:jar</artifact>
60     </legacyArtifactPath>
61   </legacyArtifactPaths>
62
63   <repositoryScanning>
64     <fileTypes>
65       <fileType>
66         <id>artifacts</id>
67         <patterns>
68           <pattern>**/*.pom</pattern>
69           <pattern>**/*.jar</pattern>
70           <pattern>**/*.ear</pattern>
71           <pattern>**/*.war</pattern>
72           <pattern>**/*.car</pattern>
73           <pattern>**/*.sar</pattern>
74           <pattern>**/*.mar</pattern>
75           <pattern>**/*.rar</pattern>
76           <pattern>**/*.dtd</pattern>
77           <pattern>**/*.tld</pattern>
78           <pattern>**/*.tar.gz</pattern>
79           <pattern>**/*.tar.bz2</pattern>
80           <pattern>**/*.zip</pattern>
81         </patterns>
82       </fileType>
83       <fileType>
84         <id>indexable-content</id>
85         <patterns>
86           <pattern>**/*.txt</pattern>
87           <pattern>**/*.TXT</pattern>
88           <pattern>**/*.block</pattern>
89           <pattern>**/*.config</pattern>
90           <pattern>**/*.pom</pattern>
91           <pattern>**/*.xml</pattern>
92           <pattern>**/*.xsd</pattern>
93           <pattern>**/*.dtd</pattern>
94           <pattern>**/*.tld</pattern>
95         </patterns>
96       </fileType>
97       <fileType>
98         <id>auto-remove</id>
99         <patterns>
100           <pattern>**/*.bak</pattern>
101           <pattern>**/*~</pattern>
102           <pattern>**/*-</pattern>
103         </patterns>
104       </fileType>
105       <fileType>
106         <id>ignored</id>
107         <patterns>
108           <pattern>**/.htaccess</pattern>
109           <pattern>**/KEYS</pattern>
110           <pattern>**/*.rb</pattern>
111           <pattern>**/*.sh</pattern>
112           <pattern>**/.svn/**</pattern>
113           <pattern>**/.DAV/**</pattern>
114         </patterns>
115       </fileType>
116     </fileTypes>
117     <knownContentConsumers>
118       <knownContentConsumer>update-db-artifact</knownContentConsumer>
119       <knownContentConsumer>create-missing-checksums</knownContentConsumer>
120       <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
121       <knownContentConsumer>validate-checksum</knownContentConsumer>
122       <knownContentConsumer>validate-signature</knownContentConsumer>
123       <knownContentConsumer>index-content</knownContentConsumer>
124       <knownContentConsumer>auto-remove</knownContentConsumer>
125       <knownContentConsumer>auto-rename</knownContentConsumer>
126       <knownContentConsumer>metadata-updater</knownContentConsumer>
127       <!--knownContentConsumer>repository-purge</knownContentConsumer-->
128     </knownContentConsumers>
129     <invalidContentConsumers>
130       <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
131     </invalidContentConsumers>
132   </repositoryScanning>
133
134   <databaseScanning>
135     <cronExpression>0 0 * * * ?</cronExpression>
136     <unprocessedConsumers>
137       <unprocessedConsumer>index-artifact</unprocessedConsumer>
138       <unprocessedConsumer>update-db-project</unprocessedConsumer>
139       <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
140       <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
141       <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
142       <unprocessedConsumer>index-public-methods</unprocessedConsumer>
143     </unprocessedConsumers>
144     <cleanupConsumers>
145       <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
146       <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
147       <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
148     </cleanupConsumers>
149   </databaseScanning>
150
151   <webapp>
152     <ui>
153       <showFindArtifacts>true</showFindArtifacts>
154       <appletFindEnabled>true</appletFindEnabled>
155     </ui>
156   </webapp>
157
158 </configuration>