PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.1-rc2/hive/external/ivy/ivysettings.xml

#
XML | 95 lines | 47 code | 13 blank | 35 comment | 0 complexity | 9c85f5f8d30f48e3a843813e6fb4ad97 MD5 | raw file
 1<ivysettings>
 2
 3 <!--
 4   Licensed to the Apache Software Foundation (ASF) under one or more
 5   contributor license agreements.  See the NOTICE file distributed with
 6   this work for additional information regarding copyright ownership.
 7   The ASF licenses this file to You under the Apache License, Version 2.0
 8   (the "License"); you may not use this file except in compliance with
 9   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, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18-->
19
20 <!--
21  see http://www.jayasoft.org/ivy/doc/configuration
22  -->
23  <!-- you can override this property to use mirrors
24          http://repo1.maven.org/maven2/
25          http://mirrors.dotsrc.org/maven2
26          http://ftp.ggi-project.org/pub/packages/maven2
27          http://mirrors.sunsite.dk/maven2
28          http://public.planetmirror.com/pub/maven2
29          http://ibiblio.lsu.edu/main/pub/packages/maven2
30          http://www.ibiblio.net/pub/packages/maven2
31  -->
32
33  <property name="repo.maven.org" value="http://repo1.maven.org/maven2/" override="false"/>
34  <property name="snapshot.apache.org" value="https://repository.apache.org/content/repositories/snapshots/" override="false"/>
35  <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision]"/>
36  <property name="repo.dir" value="${user.home}/.m2/repository"/>
37  <property name="maven2.pattern.ext"  value="${maven2.pattern}.[ext]"/>
38  <property name="resolvers" value="default" override="false"/>
39  <settings defaultResolver="${resolvers}"/>
40
41  <resolvers>
42    <url name="hadoop-source">
43      <artifact pattern="${hadoop.mirror}/hadoop/core/[artifact]-[revision]/[artifact]-[revision].[ext]" />
44    </url>
45
46    <ibiblio name="maven2" root="${repo.maven.org}" pattern="${maven2.pattern.ext}" m2compatible="true"/>
47    <ibiblio name="apache-snapshot" root="${snapshot.apache.org}" m2compatible="true"
48        checkmodified="true" changingPattern=".*SNAPSHOT"/>
49
50    <url name="datanucleus-repo" m2compatible="true">
51      <artifact pattern="${datanucleus.repo}/[organisation]/[module]/[revision]/[module]-[revision].[ext]"/>
52    </url>
53
54    <filesystem name="fs" m2compatible="true" force="true">
55       <artifact pattern="${repo.dir}/org/apache/hadoop/[module]/[revision]/[module]-[revision].[ext]"/>
56       <ivy pattern="${repo.dir}/org/apache/hadoop/[module]/[revision]/[module]-[revision].pom"/>
57    </filesystem>
58
59    <chain name="default" dual="true" checkmodified="true" changingPattern=".*SNAPSHOT">
60      <resolver ref="hadoop-source"/>
61      <resolver ref="apache-snapshot"/>
62      <resolver ref="maven2"/>
63      <resolver ref="datanucleus-repo"/>
64    </chain>
65
66    <chain name="internal" dual="true">
67      <resolver ref="fs"/>
68      <resolver ref="apache-snapshot"/>
69      <resolver ref="maven2"/>
70      <resolver ref="datanucleus-repo"/>
71    </chain>
72
73    <chain name="external">
74      <resolver ref="maven2"/>
75      <resolver ref="datanucleus-repo"/>
76    </chain>
77
78  </resolvers>
79
80  <modules>
81     <module organisation="org.apache.hadoop" name="hadoop-*" resolver="${resolvers}"/>
82  </modules>
83
84  <caches default="${ivy.cache.name}">
85    <cache name="online"/>
86    <!--
87         Set the defaultTTL to 1000 days. Ivy 2.1.0 allows you to
88         set this to "eternal", but we want to maintain backwards
89         compatibility with older versions of Ivy which are likely
90         to get picked up automatically from a user's $ANT_HOME
91         directory.
92      -->
93    <cache name="offline" defaultTTL="1000d"/>
94  </caches>
95</ivysettings>