blob: 12d0b9559b19ed91522d2ca242edd61e32ce8108 [file] [log] [blame]
Richard S. Hall85bafab2009-07-13 13:25:46 +00001<?xml version="1.0"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
20<ivysettings>
David Morgan Spencer Savage5dcbfc62009-09-15 08:11:02 +000021 <properties file="${ivy.settings.dir}/build.properties" override="false"/>
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000022 <caches defaultCacheDir="${cache.dir}/all" />
Richard S. Hall85bafab2009-07-13 13:25:46 +000023
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000024 <settings defaultResolver="default" circularDependencyStrategy="error" />
Richard S. Hall85bafab2009-07-13 13:25:46 +000025
26 <!--
27 <classpath file="${sigil-ivy-plugin.jar}" />
28 Ant tasks "subant" and "ant" cause IvySettings to be re-loaded,
29 which then re-loads SigilParser in a new URLClassLoader,
30 which causes ProjectRepository to be re-initialised. Outch!
31 Loading sigil-ivy-plugin.jar in load-ivy task, uses the same ClassLoader
32 and thus avoids re-initialising ProjectRepositiory.
33 Search for Derek Baum in the October 2008 ant-dev archives for my attempt
34 at getting the Ivy communiuty to fix this.
35 http://mail-archives.apache.org/mod_mbox/ant-dev/200810.mbox/browser
36 -->
David Morgan Spencer Savageb0f8ac72009-07-21 20:42:53 +000037 <typedef name="sigil-parser" classname="org.apache.felix.sigil.ivy.SigilParser" />
38 <typedef name="sigil" classname="org.apache.felix.sigil.ivy.SigilResolver" />
Richard S. Hall85bafab2009-07-13 13:25:46 +000039
40 <parsers>
David Morgan Spencer Savage93cdbf32010-09-03 12:11:42 +000041 <sigil-parser config="${ivy.settings.dir}/sigil-defaults.properties"
Richard S. Hall85bafab2009-07-13 13:25:46 +000042 quiet="true"/>
43 </parsers>
44
45 <resolvers>
46 <sigil name="sigil"
David Morgan Spencer Savage93cdbf32010-09-03 12:11:42 +000047 config="${ivy.settings.dir}/sigil-defaults.properties"
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000048 extractBCP="true"
49 cache="sigil"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000050
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000051 <chain name="default" returnFirst="true">
52 <filesystem name="local">
53 <ivy pattern="${repository.dir}/local/${repository.pattern}" />
54 <artifact pattern="${repository.dir}/local/${repository.pattern}" />
55 </filesystem>
Richard S. Hall85bafab2009-07-13 13:25:46 +000056
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000057 <filesystem name="shared">
58 <ivy pattern="${repository.dir}/shared/${repository.pattern}" />
59 <artifact pattern="${repository.dir}/shared/${repository.pattern}" />
60 </filesystem>
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000061 </chain>
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000062
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000063 <url name="eclipse">
64 <artifact pattern="http://download.eclipse.org/releases/ganymede/plugins/[module]_[revision].[ext]" />
65 <artifact pattern="http://download.eclipse.org/releases/ganymede/[module].[artifact]_[revision].[ext]" />
66 </url>
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000067
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000068 <url name="apache" m2compatible="true">
69 <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision].[ext]"/>
David Morgan Spencer Savage35eeecf2009-09-18 15:45:19 +000070 <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000071 </url>
72
73 <url name="aQute" m2compatible="true">
David Morgan Spencer Savagec803dd02011-03-03 13:36:56 +000074 <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000075 </url>
Richard S. Hall85bafab2009-07-13 13:25:46 +000076 </resolvers>
77
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000078 <caches>
79 <cache name="sigil" basedir="${cache.dir}/sigil" />
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000080 </caches>
81
Richard S. Hall85bafab2009-07-13 13:25:46 +000082 <modules>
83 <module organisation="sigil" resolver="sigil"/>
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000084 <module organisation="org.eclipse" resolver="eclipse"/>
David Morgan Spencer Savage6f6e1552009-07-22 19:18:11 +000085 <module organisation="org.apache" name="felix\.sigil.*" matcher="regexp" resolver="default"/>
86 <module organisation="org.apache" resolver="apache"/>
87 <module organisation="biz.aQute" resolver="aQute"/>
David Morgan Spencer Savage35eeecf2009-09-18 15:45:19 +000088 <module organisation="org.codehaus.groovy" resolver="apache" />
Richard S. Hall85bafab2009-07-13 13:25:46 +000089 </modules>
90</ivysettings>