Mercurial > public > develkit
annotate ssdt.ci.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 | 030e5a9551ef |
children | de8c350c511a |
rev | line source |
---|---|
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
1 <!-- SSDT CI ivy settings. |
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
2 This file should be used by all SSDT projects based on Ivy when building under a CI server. |
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
3 Never uses a local resolver for resolution.` |
6
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> |
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
6 <settings defaultResolver="default" /> |
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
|
7 <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="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
|
8 <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache" defaultTTL="5m"> |
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
9 <ttl revision="latest.integration" duration="5s"/> |
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
|
10 </cache> |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
11 </caches> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
12 <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/> |
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
|
13 <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/> |
6
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-public.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-shared.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-local.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-main-chain.xml"/> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
18 <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/> |
279 | 19 <credentials host="docker.ssdt.io" realm="Artifactory Realm" username="gradle" passwd="AP6LGQPcM93MBUdGacg35wS1tKA"/> |
110
d5e9a144ce40
Add task to manually publish artifacts to artifactory
smith@nwoca.org
parents:
69
diff
changeset
|
20 <resolvers > |
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
21 <chain name="default"> |
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
|
22 <url name="ssdt-snapshots" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache"> |
278
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
23 <artifact pattern="https://docker.ssdt.io/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> |
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
24 <ivy pattern="https://docker.ssdt.io/artifactory/libs-snapshots/[organisation]/[module]/ivy-[revision].xml" /> |
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
|
25 </url> |
69
9e09ab83f8d9
add proper ivy pattern for ssdt release repository
smith@nwoca.org
parents:
54
diff
changeset
|
26 <url name="ssdt-releases" checkmodified="true" m2compatible="true" cache="snapshot-cache"> |
278
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
27 <artifact pattern="https://docker.ssdt.io/artifactory/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> |
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
28 <ivy pattern="https://docker.ssdt.io/artifactory/libs-releases/[organisation]/[module]/ivy-[revision].xml" /> |
69
9e09ab83f8d9
add proper ivy pattern for ssdt release repository
smith@nwoca.org
parents:
54
diff
changeset
|
29 </url> |
278
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
30 <ibiblio name="ssdt-repo" m2compatible="true" root="https://docker.ssdt.io/artifactory/ssdt-repo" /> |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
31 </chain> |
54
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
32 <filesystem name="local" checkmodified="true" force="false" local="true" changingPattern=".*SNAPSHOT" > |
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
33 <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" /> |
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
34 <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" /> |
a435af436c95
create separate settings file for bambo (ci server)
smith@nwoca.org
parents:
53
diff
changeset
|
35 </filesystem> |
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> |
110
d5e9a144ce40
Add task to manually publish artifacts to artifactory
smith@nwoca.org
parents:
69
diff
changeset
|
40 <url name="ssdt-snapshots-local" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true"> |
278
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
41 <artifact pattern="https://docker.ssdt.io/artifactory/libs-snapshots-local/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> |
2f6d25a71778
DEP-19: update maven repo urls
Marc Davis <davis@ssdt-ohio.org>
parents:
243
diff
changeset
|
42 <ivy pattern="https://docker.ssdt.io/artifactory/libs-snapshots-local/[organisation]/[module]/ivy-[revision].xml" /> |
110
d5e9a144ce40
Add task to manually publish artifacts to artifactory
smith@nwoca.org
parents:
69
diff
changeset
|
43 </url> |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
44 </resolvers> |
51 | 45 </ivysettings> |