<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  ~ 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>
  <repositoryGroups>
    <repositoryGroup>
      <id>default</id>
      <repositories>
        <repository>snapshots</repository>
      </repositories>
    </repositoryGroup>
  </repositoryGroups>
  <managedRepositories>
    <managedRepository>
      <id>snapshots</id>
      <name>Archiva Managed Snapshot Repository</name>
      <location>${appserver.base}/repositories/snapshots</location>
      <layout>default</layout>
      <releases>false</releases>
      <snapshots>true</snapshots>
      <scanned>true</scanned>
      <refreshCronExpression>0 0,30 * * * ?</refreshCronExpression>
    </managedRepository>
  </managedRepositories>
  <remoteRepositories>
    <remoteRepository>
      <id>central</id>
      <name>Central Repository</name>
      <url>http://repo1.maven.org/maven2</url>
      <layout>default</layout>
    </remoteRepository>
  </remoteRepositories>
  <proxyConnectors>
    <proxyConnector>
      <order>2</order>
      <sourceRepoId>internal</sourceRepoId>
      <targetRepoId>maven2-repository.dev.java.net</targetRepoId>
      <proxyId/>
      <whiteListPatterns>
        <whiteListPattern>javax/**</whiteListPattern>
      </whiteListPatterns>
      <policies>
        <releases>once</releases>
        <checksum>fix</checksum>
        <snapshots>never</snapshots>
        <cache-failures>yes</cache-failures>
      </policies>
    </proxyConnector>
  </proxyConnectors>
  <networkProxies>
    <networkProxy>
      <id>proxy</id>
      <host>proxy</host>
      <port>8080</port>
    </networkProxy>
  </networkProxies>
  <legacyArtifactPaths>
    <legacyArtifactPath>
      <path>jaxen/jars/jaxen-1.0-FCS-full.jar</path>
      <artifact>jaxen:jaxen:1.0-FCS:full:jar</artifact>
    </legacyArtifactPath>
  </legacyArtifactPaths>
  <repositoryScanning>
    <knownContentConsumers>
      <knownContentConsumer>auto-remove</knownContentConsumer>
    </knownContentConsumers>
    <invalidContentConsumers>
      <invalidContentConsumer>update-db-bad-content</invalidContentConsumer>
    </invalidContentConsumers>
  </repositoryScanning>
  <databaseScanning>
    <unprocessedConsumers>
      <unprocessedConsumer>update-db-bytecode-stats</unprocessedConsumer>
    </unprocessedConsumers>
    <cleanupConsumers>
      <cleanupConsumer>not-present-remove-db-project</cleanupConsumer>
    </cleanupConsumers>
  </databaseScanning>
</configuration>
