view ssdt.default.ivy.settings.xml @ 47:f1c7d93a41c8

TL-35 update resolver chain
author aldrich
date Thu, 16 Jun 2011 10:54:30 -0400
parents 50476062adbe
children 561ece0a8225
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"/>
    <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true">
        <cache name="ssdt-cache" basedir="${user.home}/.ivy2/ssdt-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" checkmodified="true" changingMatcher="*.*SNAPSHOT">
            <filesystem name="local" checkmodified="true" force="true" cache="ssdt-cache" 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>
           

            
  <!-- Need two ways to access the Artifactory repository, as it was not getting ALL of the remote repositoires with just the URL.  Another
       way to do this might be to add the pattern used by ibiblio into the url resolver, but it works this way as long as we name the 
       url and ibiblio differently.  It's a good way to make sure we get everything. The mscompatible="true" is necessary as it converts dots 
       in organisation into slashes, which is necessary in this case.  
  -->
           <url name="ssdt-repo-one"  m2compatible="true">
                <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo/[organisation]/[module]/[revision]/[artifact].[ext]"/>
               <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
                </url>
    
    
            <ibiblio name="ssdt-repo-two" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo/" m2compatible="true"/>
              

           
        </chain>
    </resolvers>
</ivysettings>