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.

autodetect-v1.xml 6.6KB

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