view ssdt.default.ivy.settings.xml @ 49:9c652e2c5f60

allow ivy settings to be overridden via settings file
author smith@nwoca.org
date Fri, 17 Jun 2011 00:02:56 -0400
parents 561ece0a8225
children 5d4e1ac31817
line wrap: on
line source
<!-- SSDT default ivy settings.
    This file should be used by all SSDT projects based on Ivy.  It should included from
    the project's local ivysettings.xml file.
-->
<ivysettings>
    <properties file="${user.home}/ivy.properites"/>
    <settings defaultResolver="default"/>
    <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true">
        <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache"/>
    </caches>
    <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/>
    <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/>
    <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
    <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
    <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
    <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
    <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
    <resolvers >
        <chain name="default">
            <filesystem name="local" checkmodified="true" force="true" local="true" changingPattern=".*SNAPSHOT" >
                <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
                <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
            </filesystem>
     
            <url name="ssdt-snapshots" changingMatcher=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache">
                <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
                <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/ivy.xml" />
            </url>            

            <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" />                   
           
        </chain>
    </resolvers>
</ivysettings>