annotate ssdt.default.ivy.settings.xml @ 50:5d4e1ac31817

remove local settings. Add a publish-only resolver
author smith@nwoca.org
date Fri, 17 Jun 2011 00:22:11 -0400
parents 9c652e2c5f60
children 20460e252592
rev   line source
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
1 <!-- SSDT default ivy settings.
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
2 This file should be used by all SSDT projects based on Ivy. It should included from
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
3 the project's local ivysettings.xml file.
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
4 -->
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
5 <ivysettings>
49
9c652e2c5f60 allow ivy settings to be overridden via settings file
smith@nwoca.org
parents: 48
diff changeset
6 <properties file="${user.home}/ivy.properites"/>
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
7 <settings defaultResolver="default"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
8 <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true">
48
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
9 <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache"/>
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
10 </caches>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
11 <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
12 <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
13 <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
14 <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
15 <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
16 <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
17 <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
18 <resolvers >
48
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
19 <chain name="default">
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
20 <filesystem name="local" checkmodified="true" force="true" local="true" changingPattern=".*SNAPSHOT" >
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
21 <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
22 <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
23 </filesystem>
48
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
24
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
25 <url name="ssdt-snapshots" changingMatcher=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache">
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
26 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
27 <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/ivy.xml" />
561ece0a8225 Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
smith@nwoca.org
parents: 47
diff changeset
28 </url>
47
f1c7d93a41c8 TL-35 update resolver chain
aldrich
parents: 23
diff changeset
29
49
9c652e2c5f60 allow ivy settings to be overridden via settings file
smith@nwoca.org
parents: 48
diff changeset
30 <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" />
47
f1c7d93a41c8 TL-35 update resolver chain
aldrich
parents: 23
diff changeset
31
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
32 </chain>
50
5d4e1ac31817 remove local settings. Add a publish-only resolver
smith@nwoca.org
parents: 49
diff changeset
33 <filesystem name="publish-only" local="true" >
5d4e1ac31817 remove local settings. Add a publish-only resolver
smith@nwoca.org
parents: 49
diff changeset
34 <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" />
5d4e1ac31817 remove local settings. Add a publish-only resolver
smith@nwoca.org
parents: 49
diff changeset
35 <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" />
5d4e1ac31817 remove local settings. Add a publish-only resolver
smith@nwoca.org
parents: 49
diff changeset
36 </filesystem>
5d4e1ac31817 remove local settings. Add a publish-only resolver
smith@nwoca.org
parents: 49
diff changeset
37
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
38 </resolvers>
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff changeset
39 </ivysettings>