comparison ssdt.default.ivy.settings.xml @ 53:7066d68bcb47

enable resolve logging. Fixed changing pattern. set ttl on snapshot cache. Allow forcemode to be disabled.
author smith@nwoca.org
date Sat, 18 Jun 2011 20:55:36 -0400
parents f379a8a13d53
children a435af436c95
comparison
equal deleted inserted replaced
52:f379a8a13d53 53:7066d68bcb47
2 This file should be used by all SSDT projects based on Ivy. It should included from 2 This file should be used by all SSDT projects based on Ivy. It should included from
3 the project's local ivysettings.xml file. 3 the project's local ivysettings.xml file.
4 --> 4 -->
5 <ivysettings> 5 <ivysettings>
6 <settings defaultResolver="default"/> 6 <settings defaultResolver="default"/>
7 <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true"> 7 <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true" >
8 <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache"/> 8 <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache" defaultTTL="5m">
9 <ttl revision="latest.integration" duration="10s"/>
10 </cache>
9 </caches> 11 </caches>
10 <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/> 12 <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/>
11 <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/> 13 <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/>
14 <property name="ivy.local.force.mode" value="true" override="false"/>
12 <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/> 15 <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
13 <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/> 16 <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
14 <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/> 17 <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
15 <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/> 18 <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
16 <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/> 19 <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
17 <resolvers > 20 <resolvers >
18 <chain name="default"> 21 <chain name="default">
19 <filesystem name="local" checkmodified="true" force="true" local="true" changingPattern=".*SNAPSHOT" > 22 <filesystem name="local" checkmodified="true" force="${ivy.local.force.mode}" local="true" changingPattern=".*SNAPSHOT" >
20 <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" /> 23 <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
21 <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" /> 24 <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
22 </filesystem> 25 </filesystem>
23 26
24 <url name="ssdt-snapshots" changingMatcher=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache"> 27 <url name="ssdt-snapshots" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache">
25 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> 28 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
26 <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/ivy-[revision].xml" /> 29 <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/ivy-[revision].xml" />
27 </url> 30 </url>
28 <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" /> 31 <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" />
29 32
30 </chain> 33 </chain>
31 <filesystem name="publish-only" local="true" > 34 <filesystem name="publish-only" local="true">
32 <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" /> 35 <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" />
33 <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" /> 36 <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" />
34 </filesystem> 37 </filesystem>
35 38
36 </resolvers> 39 </resolvers>
37 </ivysettings> 40 </ivysettings>