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.xml 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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>test-repo</id>
  25. <name>Test Repository</name>
  26. <url>file://src/test/resources/test-repo</url>
  27. <layout>default</layout>
  28. <releases>true</releases>
  29. <snapshots>true</snapshots>
  30. <indexed>true</indexed>
  31. <refreshCronExpression>0 0 * * * ?</refreshCronExpression>
  32. <retentionPeriod>0</retentionPeriod>
  33. <retentionCount>2</retentionCount>
  34. </repository>
  35. </repositories>
  36. <proxyConnectors/>
  37. <networkProxies>
  38. <networkProxy>
  39. <id>example</id>
  40. <protocol>http</protocol>
  41. <host>proxy.mycompany.com</host>
  42. <port>8080</port>
  43. <username>myself</username>
  44. <password>mypass</password>
  45. </networkProxy>
  46. </networkProxies>
  47. <repositoryScanning>
  48. <fileTypes>
  49. <fileType>
  50. <id>artifacts</id>
  51. <patterns>
  52. <pattern>**/*.pom</pattern>
  53. <pattern>**/*.jar</pattern>
  54. <pattern>**/*.ear</pattern>
  55. <pattern>**/*.war</pattern>
  56. </patterns>
  57. </fileType>
  58. <fileType>
  59. <id>indexable-content</id>
  60. <patterns>
  61. <pattern>**/*.txt</pattern>
  62. <pattern>**/*.TXT</pattern>
  63. </patterns>
  64. </fileType>
  65. <fileType>
  66. <id>auto-remove</id>
  67. <patterns>
  68. <pattern>**/*.bak</pattern>
  69. <pattern>**/*~</pattern>
  70. <pattern>**/*-</pattern>
  71. </patterns>
  72. </fileType>
  73. <fileType>
  74. <id>ignored</id>
  75. <patterns>
  76. <pattern>**/.htaccess</pattern>
  77. <pattern>**/KEYS</pattern>
  78. <pattern>**/*.rb</pattern>
  79. <pattern>**/*.sh</pattern>
  80. <pattern>**/.svn/**</pattern>
  81. <pattern>**/.DAV/**</pattern>
  82. </patterns>
  83. </fileType>
  84. </fileTypes>
  85. <knownContentConsumers>
  86. <knownContentConsumer>update-db-artifact</knownContentConsumer>
  87. <knownContentConsumer>create-missing-checksums</knownContentConsumer>
  88. <knownContentConsumer>update-db-repository-metadata</knownContentConsumer>
  89. <knownContentConsumer>validate-checksum</knownContentConsumer>
  90. <knownContentConsumer>validate-signature</knownContentConsumer>
  91. <knownContentConsumer>index-content</knownContentConsumer>
  92. <knownContentConsumer>auto-remove</knownContentConsumer>
  93. <knownContentConsumer>auto-rename</knownContentConsumer>
  94. <knownContentConsumer>repository-purge</knownContentConsumer>
  95. </knownContentConsumers>
  96. <invalidContentConsumers>
  97. <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
  98. </invalidContentConsumers>
  99. </repositoryScanning>
  100. <databaseScanning>
  101. <cronExpression>0 0 * * * ?</cronExpression>
  102. <unprocessedConsumers>
  103. <unprocessedConsumer>index-artifact</unprocessedConsumer>
  104. <unprocessedConsumer>update-db-project</unprocessedConsumer>
  105. <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
  106. <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
  107. <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
  108. <unprocessedConsumer>index-public-methods</unprocessedConsumer>
  109. </unprocessedConsumers>
  110. <cleanupConsumers>
  111. <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
  112. <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
  113. <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
  114. </cleanupConsumers>
  115. </databaseScanning>
  116. <webapp>
  117. <ui>
  118. <showFindArtifacts>true</showFindArtifacts>
  119. <appletFindEnabled>true</appletFindEnabled>
  120. </ui>
  121. </webapp>
  122. </configuration>