[120] | 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 | <property name="repo.maven.org" |
---|
| 33 | value="http://repo1.maven.org/maven2/" |
---|
| 34 | override="false"/> |
---|
| 35 | <property name="snapshot.apache.org" |
---|
| 36 | value="http://people.apache.org/repo/m2-snapshot-repository/" |
---|
| 37 | override="false"/> |
---|
| 38 | <property name="maven2.pattern" |
---|
| 39 | value="[organisation]/[module]/[revision]/[module]-[revision]"/> |
---|
| 40 | <property name="maven2.pattern.ext" |
---|
| 41 | value="${maven2.pattern}.[ext]"/> |
---|
| 42 | <!-- pull in the local repository --> |
---|
| 43 | <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/> |
---|
| 44 | <settings defaultResolver="default"/> |
---|
| 45 | <resolvers> |
---|
| 46 | <ibiblio name="maven2" |
---|
| 47 | root="${repo.maven.org}" |
---|
| 48 | pattern="${maven2.pattern.ext}" |
---|
| 49 | m2compatible="true" |
---|
| 50 | /> |
---|
| 51 | <ibiblio name="apache-snapshot" |
---|
| 52 | root="${snapshot.apache.org}" |
---|
| 53 | pattern="${maven2.pattern.ext}" |
---|
| 54 | m2compatible="true" |
---|
| 55 | /> |
---|
| 56 | <chain name="default" dual="true"> |
---|
| 57 | <resolver ref="local"/> |
---|
| 58 | <resolver ref="maven2"/> |
---|
| 59 | </chain> |
---|
| 60 | <chain name="internal"> |
---|
| 61 | <resolver ref="local"/> |
---|
| 62 | </chain> |
---|
| 63 | <chain name="external"> |
---|
| 64 | <resolver ref="maven2"/> |
---|
| 65 | </chain> |
---|
| 66 | <chain name="external-and-snapshots"> |
---|
| 67 | <resolver ref="maven2"/> |
---|
| 68 | <resolver ref="apache-snapshot"/> |
---|
| 69 | </chain> |
---|
| 70 | </resolvers> |
---|
| 71 | <modules> |
---|
| 72 | <!-- |
---|
| 73 | This forces a requirement for other hadoop-artifacts to be built locally |
---|
| 74 | rather than look for them online. |
---|
| 75 | |
---|
| 76 | --> |
---|
| 77 | <module organisation="org.apache.hadoop" name=".*" resolver="internal"/> |
---|
| 78 | <!--until commons cli is external, we need to pull it in from the snapshot repository -if present --> |
---|
| 79 | <module organisation="org.apache.commons" name=".*" resolver="external-and-snapshots"/> |
---|
| 80 | </modules> |
---|
| 81 | </ivysettings> |
---|