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-archiva.xml 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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>2</version>
  22. <repositoryScanning>
  23. <fileTypes>
  24. <fileType>
  25. <id>artifacts</id>
  26. <patterns>
  27. <pattern>**/*.pom</pattern>
  28. <pattern>**/*.jar</pattern>
  29. <pattern>**/*.ear</pattern>
  30. <pattern>**/*.war</pattern>
  31. <pattern>**/*.car</pattern>
  32. <pattern>**/*.sar</pattern>
  33. <pattern>**/*.mar</pattern>
  34. <pattern>**/*.rar</pattern>
  35. <pattern>**/*.dtd</pattern>
  36. <pattern>**/*.tld</pattern>
  37. <pattern>**/*.tar.gz</pattern>
  38. <pattern>**/*.tar.bz2</pattern>
  39. <pattern>**/*.zip</pattern>
  40. </patterns>
  41. </fileType>
  42. <fileType>
  43. <id>indexable-content</id>
  44. <patterns>
  45. <pattern>**/*.txt</pattern>
  46. <pattern>**/*.TXT</pattern>
  47. <pattern>**/*.block</pattern>
  48. <pattern>**/*.config</pattern>
  49. <pattern>**/*.pom</pattern>
  50. <pattern>**/*.xml</pattern>
  51. <pattern>**/*.xsd</pattern>
  52. <pattern>**/*.dtd</pattern>
  53. <pattern>**/*.tld</pattern>
  54. </patterns>
  55. </fileType>
  56. <fileType>
  57. <id>auto-remove</id>
  58. <patterns>
  59. <pattern>**/*.bak</pattern>
  60. <pattern>**/*~</pattern>
  61. <pattern>**/*-</pattern>
  62. </patterns>
  63. </fileType>
  64. <fileType>
  65. <id>ignored</id>
  66. <patterns>
  67. <pattern>**/.htaccess</pattern>
  68. <pattern>**/KEYS</pattern>
  69. <pattern>**/*.rb</pattern>
  70. <pattern>**/*.sh</pattern>
  71. <pattern>**/.svn/**</pattern>
  72. <pattern>**/.DAV/**</pattern>
  73. </patterns>
  74. </fileType>
  75. </fileTypes>
  76. <knownContentConsumers>
  77. <knownContentConsumer>update-db-artifact</knownContentConsumer>
  78. <knownContentConsumer>create-missing-checksums</knownContentConsumer>
  79. <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
  80. <knownContentConsumer>validate-checksum</knownContentConsumer>
  81. <knownContentConsumer>validate-signature</knownContentConsumer>
  82. <knownContentConsumer>index-content</knownContentConsumer>
  83. <knownContentConsumer>auto-remove</knownContentConsumer>
  84. <knownContentConsumer>auto-rename</knownContentConsumer>
  85. </knownContentConsumers>
  86. <invalidContentConsumers>
  87. <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
  88. </invalidContentConsumers>
  89. </repositoryScanning>
  90. <databaseScanning>
  91. <cronExpression>0 0 * * ?</cronExpression>
  92. <unprocessedConsumers>
  93. <unprocessedConsumer>index-artifact</unprocessedConsumer>
  94. <unprocessedConsumer>update-db-project</unprocessedConsumer>
  95. <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
  96. <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
  97. <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
  98. <unprocessedConsumer>index-public-methods</unprocessedConsumer>
  99. </unprocessedConsumers>
  100. <cleanupConsumers>
  101. <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
  102. <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
  103. <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
  104. </cleanupConsumers>
  105. </databaseScanning>
  106. </configuration>