You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repository-manager-daysOld.xml 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. <configuration>
  21. <version>1</version>
  22. <repositories>
  23. <repository>
  24. <id>internal</id>
  25. <name>Archiva Managed Internal Repository</name>
  26. <url>file://${appserver.base}/repositories/internal</url>
  27. <layout>default</layout>
  28. <releases>true</releases>
  29. <snapshots>false</snapshots>
  30. <indexed>true</indexed>
  31. <refreshCronExpression>0 0 * * * ?</refreshCronExpression>
  32. </repository>
  33. <repository>
  34. <id>snapshots</id>
  35. <name>Archiva Managed Snapshot Repository</name>
  36. <url>file://${appserver.base}/repositories/snapshots</url>
  37. <layout>default</layout>
  38. <releases>false</releases>
  39. <snapshots>true</snapshots>
  40. <indexed>true</indexed>
  41. <refreshCronExpression>0 0,30 * * * ?</refreshCronExpression>
  42. </repository>
  43. <repository>
  44. <id>central</id>
  45. <name>Central Repository</name>
  46. <url>http://repo1.maven.org/maven2</url>
  47. <layout>default</layout>
  48. <releases>true</releases>
  49. <snapshots>false</snapshots>
  50. <indexed>false</indexed>
  51. </repository>
  52. <repository>
  53. <id>maven2-repository.dev.java.net</id>
  54. <name>Java.net Repository for Maven 2</name>
  55. <url>https://maven2-repository.dev.java.net/nonav/repository</url>
  56. <layout>default</layout>
  57. <releases>true</releases>
  58. <snapshots>false</snapshots>
  59. <indexed>false</indexed>
  60. </repository>
  61. <repository>
  62. <id>test-repo</id>
  63. <name>Test Repository</name>
  64. <url>file://${appserver.base}/test-repo</url>
  65. <layout>default</layout>
  66. <releases>true</releases>
  67. <snapshots>true</snapshots>
  68. <indexed>true</indexed>
  69. <refreshCronExpression>0 0 * * * ?</refreshCronExpression>
  70. <retentionPeriod>100</retentionPeriod>
  71. <deleteReleasedSnapshots>true</deleteReleasedSnapshots>
  72. </repository>
  73. </repositories>
  74. <proxyConnectors>
  75. <proxyConnector>
  76. <sourceRepoId>internal</sourceRepoId>
  77. <targetRepoId>central</targetRepoId>
  78. <proxyId/>
  79. <snapshotsPolicy>disabled</snapshotsPolicy>
  80. <releasePolicy>never</releasePolicy>
  81. <failurePolicy>not-found</failurePolicy>
  82. </proxyConnector>
  83. <proxyConnector>
  84. <sourceRepoId>internal</sourceRepoId>
  85. <targetRepoId>maven2-repository.dev.java.net</targetRepoId>
  86. <proxyId/>
  87. <snapshotsPolicy>disabled</snapshotsPolicy>
  88. <releasePolicy>never</releasePolicy>
  89. <failurePolicy>not-found</failurePolicy>
  90. <whiteListPatterns>
  91. <whiteListPattern>javax/**</whiteListPattern>
  92. </whiteListPatterns>
  93. </proxyConnector>
  94. </proxyConnectors>
  95. <networkProxies>
  96. <networkProxy>
  97. <id>example</id>
  98. <protocol>http</protocol>
  99. <host>proxy.mycompany.com</host>
  100. <port>8080</port>
  101. <username>myself</username>
  102. <password>mypass</password>
  103. </networkProxy>
  104. </networkProxies>
  105. <repositoryScanning>
  106. <fileTypes>
  107. <fileType>
  108. <id>artifacts</id>
  109. <patterns>
  110. <pattern>**/*.pom</pattern>
  111. <pattern>**/*.jar</pattern>
  112. <pattern>**/*.ear</pattern>
  113. <pattern>**/*.war</pattern>
  114. <pattern>**/*.car</pattern>
  115. <pattern>**/*.sar</pattern>
  116. <pattern>**/*.mar</pattern>
  117. <pattern>**/*.rar</pattern>
  118. <pattern>**/*.dtd</pattern>
  119. <pattern>**/*.tld</pattern>
  120. <pattern>**/*.tar.gz</pattern>
  121. <pattern>**/*.tar.bz2</pattern>
  122. <pattern>**/*.zip</pattern>
  123. </patterns>
  124. </fileType>
  125. <fileType>
  126. <id>indexable-content</id>
  127. <patterns>
  128. <pattern>**/*.txt</pattern>
  129. <pattern>**/*.TXT</pattern>
  130. <pattern>**/*.block</pattern>
  131. <pattern>**/*.config</pattern>
  132. <pattern>**/*.pom</pattern>
  133. <pattern>**/*.xml</pattern>
  134. <pattern>**/*.xsd</pattern>
  135. <pattern>**/*.dtd</pattern>
  136. <pattern>**/*.tld</pattern>
  137. </patterns>
  138. </fileType>
  139. <fileType>
  140. <id>auto-remove</id>
  141. <patterns>
  142. <pattern>**/*.bak</pattern>
  143. <pattern>**/*~</pattern>
  144. <pattern>**/*-</pattern>
  145. </patterns>
  146. </fileType>
  147. <fileType>
  148. <id>ignored</id>
  149. <patterns>
  150. <pattern>**/.htaccess</pattern>
  151. <pattern>**/KEYS</pattern>
  152. <pattern>**/*.rb</pattern>
  153. <pattern>**/*.sh</pattern>
  154. <pattern>**/.svn/**</pattern>
  155. <pattern>**/.DAV/**</pattern>
  156. </patterns>
  157. </fileType>
  158. </fileTypes>
  159. <knownContentConsumers>
  160. <knownContentConsumer>update-db-artifact</knownContentConsumer>
  161. <knownContentConsumer>create-missing-checksums</knownContentConsumer>
  162. <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
  163. <knownContentConsumer>validate-checksum</knownContentConsumer>
  164. <knownContentConsumer>validate-signature</knownContentConsumer>
  165. <knownContentConsumer>index-content</knownContentConsumer>
  166. <knownContentConsumer>auto-remove</knownContentConsumer>
  167. <knownContentConsumer>auto-rename</knownContentConsumer>
  168. <knownContentConsumer>repository-purge</knownContentConsumer>
  169. </knownContentConsumers>
  170. <invalidContentConsumers>
  171. <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
  172. </invalidContentConsumers>
  173. </repositoryScanning>
  174. <databaseScanning>
  175. <cronExpression>0 0 * * * ?</cronExpression>
  176. <unprocessedConsumers>
  177. <unprocessedConsumer>index-artifact</unprocessedConsumer>
  178. <unprocessedConsumer>update-db-project</unprocessedConsumer>
  179. <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
  180. <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
  181. <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
  182. <unprocessedConsumer>index-public-methods</unprocessedConsumer>
  183. </unprocessedConsumers>
  184. <cleanupConsumers>
  185. <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
  186. <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
  187. <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
  188. </cleanupConsumers>
  189. </databaseScanning>
  190. <webapp>
  191. <ui>
  192. <showFindArtifacts>true</showFindArtifacts>
  193. <appletFindEnabled>true</appletFindEnabled>
  194. </ui>
  195. </webapp>
  196. </configuration>