view ssdt.default.ivy.settings.xml @ 331:7bc7c6c79d7c

check for current release and hotfix branches when looking for latest snapshot
author Marc Davis <davis@ssdt-ohio.org>
date Mon, 06 Mar 2023 13:37:28 -0500
parents 2f6d25a71778
children de8c350c511a
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>
    <settings defaultResolver="default"/>
    <properties file="${user.home}/.ssdt/private.properties" override="true"/>  
    <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/>   
    <property name="ivy.local.default.root" value="${ivy.default.ivy.user.dir}/local" override="false"/>
    <caches defaultCacheDir="${ivy.default.ivy.user.dir}/cache" useOrigin="true" >
        <cache name="snapshot-cache" basedir="${ivy.default.ivy.user.dir}/snapshot-cache" defaultTTL="60m"/>
    </caches>
    <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}/[module]-ivy-[revision].xml" />
                <artifact pattern="${ivy.local.default.root}/[module]-[artifact]-[revision](-[classifier]).[ext]" />
            </filesystem>
     
            <url name="ssdt-snapshots" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache">
                <artifact pattern="https://docker.ssdt.io/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
                <ivy pattern="https://docker.ssdt.io/artifactory/libs-snapshots/[organisation]/[module]/ivy-[revision].xml" />
            </url>             
            <url name="ssdt-releases" checkmodified="true" m2compatible="true" cache="snapshot-cache">
                <artifact pattern="https://docker.ssdt.io/artifactory/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
                <ivy pattern="https://docker.ssdt.io/artifactory/libs-releases/[organisation]/[module]/ivy-[revision].xml" />
            </url>            
            <ibiblio name="ssdt-repo" m2compatible="true" root="https://docker.ssdt.io/artifactory/ssdt-repo" />
           
        </chain>
        <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>     
    </resolvers>
</ivysettings>