root/trunk/etc/ivysettings.xml
| Revision 2646, 3.1 kB (checked in by jmoore, 5 months ago) |
|---|
| Line | |
|---|---|
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <ivysettings> |
| 3 | <!-- |
| 4 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 5 | # |
| 6 | # Copyright 2007 Glencoe Software, Inc. All rights reserved. |
| 7 | # Use is subject to license terms supplied in LICENSE.txt |
| 8 | #· |
| 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 10 | |
| 11 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 12 | # Written by: Josh Moore, josh at glencoesoftware.com |
| 13 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 14 | --> |
| 15 | |
| 16 | <properties file="${ivy.settings.dir}/local.properties"/> |
| 17 | <settings defaultResolver="${omero.resolver}"/> |
| 18 | <caches defaultCacheDir="${ivy.settings.dir}/../lib/cache"/> |
| 19 | <resolvers> |
| 20 | |
| 21 | <!-- Main resolver. Uses the OMERO_HOME/lib/repository directory after first |
| 22 | searching in OMERO_HOME/lib/overrides as described in overrides/README.txt --> |
| 23 | |
| 24 | <chain name="omero-resolver" returnFirst="true"> |
| 25 | <filesystem name="nested_repo"> |
| 26 | <artifact pattern="${ivy.settings.dir}/../lib/repository/[organization]/[module]/[revision]/[artifact]-[revision].[type]" /> |
| 27 | <ivy pattern="${ivy.settings.dir}/../lib/repository/[organization]/[module]/[revision]/ivy.xml"/> |
| 28 | </filesystem> |
| 29 | <filesystem name="repo"> |
| 30 | <artifact pattern="${ivy.settings.dir}/../lib/repository/[module]-[revision].[type]" /> |
| 31 | <ivy pattern="${ivy.settings.dir}/../lib/repository/[module]-[revision].ivy"/> |
| 32 | </filesystem> |
| 33 | <filesystem name="importer_repo"> |
| 34 | <artifact pattern="${ivy.settings.dir}/../lib/repository/importer/[module]-[revision].[type]" /> |
| 35 | <ivy pattern="${ivy.settings.dir}/../lib/repository/importer/[module]-[revision].ivy"/> |
| 36 | </filesystem> |
| 37 | </chain> |
| 38 | |
| 39 | <!-- Example maven2 configuration. Unused. --> |
| 40 | <ibiblio name="ibiblio-maven2" m2compatible="true" /> |
| 41 | |
| 42 | <chain name="loci-resolver"> |
| 43 | <filesystem name="private"> |
| 44 | <artifact pattern="${user.home}/target/libs/[organization]/[module]/[revision]/[artifact]-[revision].[type]" /> |
| 45 | </filesystem> |
| 46 | </chain> |
| 47 | |
| 48 | <chain name="tools-resolver"> |
| 49 | <filesystem name="tools-client"> |
| 50 | <artifact pattern="${ivy.settings.dir}/../components/tools/target/client/[artifact]-[revision].[type]" /> |
| 51 | </filesystem> |
| 52 | </chain> |
| 53 | |
| 54 | <!-- Hudson resolver. Used by hudson to build a central repository --> |
| 55 | <filesystem name="hudson-repository"> |
| 56 | <ivy pattern="${user.home}/.hudson/repository/[organisation]/[module]/ivys/ivy-[revision].xml"/> |
| 57 | <artifact pattern="${user.home}/.hudson/repository/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/> |
| 58 | </filesystem> |
| 59 | |
| 60 | </resolvers> |
| 61 | |
| 62 | <!-- The loci modules can be fetched from another path by changing the "loci.resolver" |
| 63 | configuration in local.properties to point to "loci-resolver" as configured above. --> |
| 64 | |
| 65 | <modules> |
| 66 | <module organisation="omero" name="bio-formats" resolver="${loci.resolver}" /> |
| 67 | <module organisation="omero" name="omejava" resolver="${loci.resolver}" /> |
| 68 | </modules> |
| 69 | |
| 70 | </ivysettings> |
Note: See TracBrowser
for help on using the browser.
