<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
<configuration>
  <version>2</version>
  <managedRepositories>
    <managedRepository>
      <id>snapshots</id>
      <name>Archiva Managed Snapshot Repository</name>
      <location>file://${appserver.base}/repositories/internal</location>
      <releases>false</releases>
      <snapshots>true</snapshots>
      <refreshCronExpression>0 0\,30 * * * ?</refreshCronExpression>
    </managedRepository>
  </managedRepositories>
  <databaseScanning>
    <cronExpression>0 0 0 * * ?</cronExpression>
    <unprocessedConsumers>
      <unprocessedConsumer>index-artifact</unprocessedConsumer>
      <unprocessedConsumer>update-db-project</unprocessedConsumer>
      <unprocessedConsumer>validate-repository-metadata</unprocessedConsumer>
      <unprocessedConsumer>index-archive-toc</unprocessedConsumer>
      <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
      <unprocessedConsumer>index-public-methods</unprocessedConsumer>
    </unprocessedConsumers>
    <cleanupConsumers>
      <cleanupConsumer>not-present-remove-db-artifact</cleanupConsumer>
      <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
      <cleanupConsumer>not-present-remove-indexed</cleanupConsumer>
    </cleanupConsumers>
  </databaseScanning>

  <webapp>
    <ui>
      <showFindArtifacts>false</showFindArtifacts>
    </ui>
  </webapp>
</configuration>
