<!--
   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.
-->
<ivysettings>
  <property name="ivy.default.resolver" value="chain" override="false"/>
  <property name="ivy.localfs.root" value="${project.root}/lib/localfs_repo" override="false"/>
  <property name="ivy.localfs.pattern" value="[artifact]-[revision](-[classifier]).[ext]" override="false"/>

  <settings defaultResolver="${ivy.default.resolver}"/>
  <resolvers>
    <filesystem name="localfs">
      <artifact pattern="${ivy.localfs.root}/${ivy.localfs.pattern}" />
    </filesystem>

    <ibiblio name="m2repo" m2compatible="true" root="${ivy.m2repo.url}"/>

    <url name="csvjdbc" m2compatible="true">
      <artifact pattern="http://csvjdbc.sourceforge.net/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
    </url>

    <url name="oracle" m2compatible="true">
      <artifact pattern="http://download.oracle.com/maven/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
    </url>

    <ibiblio name="public" m2compatible="true"/>

    <chain name="chain" returnFirst="true">
      <resolver ref="m2repo"/>
      <resolver ref="csvjdbc"/>
      <resolver ref="oracle"/>
      <resolver ref="public"/>
    </chain>
  </resolvers>
</ivysettings>
