view ssdt.ci.ivy.settings.xml @ 268:f1f4ec4633ca

add ssdt-releases repo for older builds
author smith@nwoca.org
date Thu, 29 Nov 2018 15:43:43 +0000
parents e4ade0dc8430
children 2f6d25a71778
line wrap: on
line source
<!-- SSDT CI ivy settings.
    This file should be used by all SSDT projects based on Ivy when building under a CI server.
    Never uses a local resolver for resolution.`
-->
<ivysettings>
    <settings defaultResolver="default" />
    <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true" >
        <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache" defaultTTL="5m">
            <ttl revision="latest.integration" duration="5s"/>
        </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"/>
    <credentials host="repos.ssdt.nwoca.org" realm="Artifactory Realm" username="gradle" passwd="AP6LGQPcM93MBUdGacg35wS1tKA"/>
     <resolvers >        
        <chain name="default">     
            <url name="ssdt-snapshots" changingPattern=".*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]/ivy-[revision].xml" />
            </url>            
            <url name="ssdt-releases" checkmodified="true" m2compatible="true" cache="snapshot-cache">
                <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
                <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-releases/[organisation]/[module]/ivy-[revision].xml" />
            </url>            
            <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" />                              
        </chain>
        <filesystem name="local" checkmodified="true" force="false" 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>
        <filesystem name="publish-only" local="true">
            <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" />
            <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" />
        </filesystem>     
       <url name="ssdt-snapshots-local" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true">
                <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots-local/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
                <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots-local/[organisation]/[module]/ivy-[revision].xml" />
            </url>            
    </resolvers>
</ivysettings>