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