Mercurial > public > develkit
annotate 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 |
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"/> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
7 <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true"> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
8 <cache name="ssdt-cache" basedir="${user.home}/.ivy2/ssdt-cache"/> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
9 </caches> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
10 <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
|
11 <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
|
12 <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
|
13 <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
|
14 <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
|
15 <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
|
16 <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
|
17 <resolvers > |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
18 <chain name="default" checkmodified="true" changingMatcher="*.*SNAPSHOT"> |
22
d63570d69dd3
CM-125: Correct problem that may have prevented ivy from detecting changes in snapshots.
smith@nwoca.org
parents:
6
diff
changeset
|
19 <filesystem name="local" checkmodified="true" force="true" cache="ssdt-cache" changingPattern=".*SNAPSHOT" > |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
20 <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
|
21 <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
|
22 </filesystem> |
47 | 23 |
24 | |
25 | |
26 <!-- Need two ways to access the Artifactory repository, as it was not getting ALL of the remote repositoires with just the URL. Another | |
27 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 | |
28 url and ibiblio differently. It's a good way to make sure we get everything. The mscompatible="true" is necessary as it converts dots | |
29 in organisation into slashes, which is necessary in this case. | |
30 --> | |
31 <url name="ssdt-repo-one" m2compatible="true"> | |
32 <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo/[organisation]/[module]/[revision]/[artifact].[ext]"/> | |
33 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> | |
34 </url> | |
35 | |
36 | |
37 <ibiblio name="ssdt-repo-two" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo/" m2compatible="true"/> | |
38 | |
39 | |
40 | |
6
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
41 </chain> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
42 </resolvers> |
e779cd205e30
TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents:
diff
changeset
|
43 </ivysettings> |