Mercurial > public > develkit
annotate ssdt.default.ivy.settings.xml @ 223:6cbe6a8597db
USASR-2244: Attempt to simplify changes to init script by placing hg pull in findSnapshotVersion method
author | Christopher Springer <springer@nwoca.org> |
---|---|
date | Thu, 07 Jul 2016 16:33:50 +0100 |
parents | 44c4cb9d0fed |
children | 2f6d25a71778 |
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> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
6 <settings defaultResolver="default"/> |
65 | 7 <properties file="${user.home}/.ssdt/private.properties" override="true"/> |
8 <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/> | |
9 <property name="ivy.local.default.root" value="${ivy.default.ivy.user.dir}/local" override="false"/> | |
10 <caches defaultCacheDir="${ivy.default.ivy.user.dir}/cache" useOrigin="true" > | |
11 <cache name="snapshot-cache" basedir="${ivy.default.ivy.user.dir}/snapshot-cache" defaultTTL="60m"/> | |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
12 </caches> |
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"> |
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
20 <filesystem name="local" checkmodified="true" force="true" local="true" changingPattern=".*SNAPSHOT" > |
94
1290b23e7b76
modify ivy and gradle to use same local repo
smith@nwoca.org
parents:
70
diff
changeset
|
21 <ivy pattern="${ivy.local.default.root}/[module]-ivy-[revision].xml" /> |
100 | 22 <artifact pattern="${ivy.local.default.root}/[module]-[artifact]-[revision](-[classifier]).[ext]" /> |
6
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 |
53
7066d68bcb47
enable resolve logging. Fixed changing pattern. set ttl on snapshot cache. Allow forcemode to be disabled.
smith@nwoca.org
parents:
52
diff
changeset
|
25 <url name="ssdt-snapshots" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache"> |
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
|
26 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> |
52 | 27 <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/ivy-[revision].xml" /> |
70 | 28 </url> |
69
9e09ab83f8d9
add proper ivy pattern for ssdt release repository
smith@nwoca.org
parents:
65
diff
changeset
|
29 <url name="ssdt-releases" checkmodified="true" m2compatible="true" cache="snapshot-cache"> |
9e09ab83f8d9
add proper ivy pattern for ssdt release repository
smith@nwoca.org
parents:
65
diff
changeset
|
30 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> |
9e09ab83f8d9
add proper ivy pattern for ssdt release repository
smith@nwoca.org
parents:
65
diff
changeset
|
31 <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-releases/[organisation]/[module]/ivy-[revision].xml" /> |
9e09ab83f8d9
add proper ivy pattern for ssdt release repository
smith@nwoca.org
parents:
65
diff
changeset
|
32 </url> |
49
9c652e2c5f60
allow ivy settings to be overridden via settings file
smith@nwoca.org
parents:
48
diff
changeset
|
33 <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" /> |
47 | 34 |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
35 </chain> |
53
7066d68bcb47
enable resolve logging. Fixed changing pattern. set ttl on snapshot cache. Allow forcemode to be disabled.
smith@nwoca.org
parents:
52
diff
changeset
|
36 <filesystem name="publish-only" local="true"> |
7066d68bcb47
enable resolve logging. Fixed changing pattern. set ttl on snapshot cache. Allow forcemode to be disabled.
smith@nwoca.org
parents:
52
diff
changeset
|
37 <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" /> |
7066d68bcb47
enable resolve logging. Fixed changing pattern. set ttl on snapshot cache. Allow forcemode to be disabled.
smith@nwoca.org
parents:
52
diff
changeset
|
38 <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" /> |
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
39 </filesystem> |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
40 </resolvers> |
51 | 41 </ivysettings> |