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