Mercurial > hg > cc > cirrus_home
comparison src/nutch-cc/ivy/ivysettings.xml @ 75:1c5dab2e1cb3
use local .m2/repository for Hadoop 3.4.0
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 06 May 2020 14:24:42 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
74:b7daa4f8767c | 75:1c5dab2e1cb3 |
---|---|
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 <property name="oss.sonatype.org" | |
20 value="https://oss.sonatype.org/content/repositories/releases/" | |
21 override="false"/> | |
22 <property name="repo.maven.org" | |
23 value="https://repo1.maven.org/maven2/" | |
24 override="false"/> | |
25 <property name="repository.apache.org" | |
26 value="https://repository.apache.org/content/repositories/snapshots/" | |
27 override="false"/> | |
28 <property name="maven2.pattern" | |
29 value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier])"/> | |
30 <property name="maven2.pattern.ext" | |
31 value="${maven2.pattern}.[ext]"/> | |
32 <property name="maven2.pattern.local" | |
33 value="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" | |
34 override="false" /> | |
35 <!-- pull in the local repository --> | |
36 <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/> | |
37 <settings defaultResolver="default"/> | |
38 <resolvers> | |
39 <ibiblio name="maven2" | |
40 root="${repo.maven.org}" | |
41 pattern="${maven2.pattern.ext}" | |
42 m2compatible="true" | |
43 /> | |
44 <ibiblio name="apache-snapshot" | |
45 root="${repository.apache.org}" | |
46 m2compatible="true" | |
47 changingMatcher="regexp" | |
48 changingPattern=".*SNAPSHOT.*" | |
49 checkmodified="true" | |
50 /> | |
51 <ibiblio name="sonatype" | |
52 root="${oss.sonatype.org}" | |
53 pattern="${maven2.pattern.ext}" | |
54 m2compatible="true" | |
55 /> | |
56 <ibiblio name="cloudera-repos" | |
57 root="https://repository.cloudera.com/artifactory/cloudera-repos/" | |
58 pattern="${maven2.pattern.ext}" | |
59 m2compatible="true" | |
60 /> | |
61 <ibiblio name="maven2-local" m2compatible="true" | |
62 root="file://${user.home}/.m2/repository" | |
63 pattern="${maven2.pattern.ext}"/> | |
64 <chain name="default" dual="true"> | |
65 <resolver ref="local"/> | |
66 <resolver ref="maven2"/> | |
67 <resolver ref="apache-snapshot"/> | |
68 <resolver ref="sonatype"/> | |
69 <resolver ref="cloudera-repos"/> | |
70 <resolver ref="maven2-local"/> | |
71 </chain> | |
72 <chain name="internal"> | |
73 <resolver ref="local"/> | |
74 </chain> | |
75 <chain name="internal-and-maven"> | |
76 <resolver ref="local"/> | |
77 <resolver ref="maven2-local"/> | |
78 <resolver ref="maven2"/> | |
79 <resolver ref="apache-snapshot"/> | |
80 <resolver ref="sonatype"/> | |
81 <resolver ref="cloudera-repos"/> | |
82 </chain> | |
83 <chain name="external"> | |
84 <resolver ref="maven2"/> | |
85 </chain> | |
86 <chain name="external-and-snapshots"> | |
87 <resolver ref="maven2"/> | |
88 <resolver ref="apache-snapshot"/> | |
89 <resolver ref="sonatype"/> | |
90 </chain> | |
91 </resolvers> | |
92 <modules> | |
93 <!-- | |
94 This forces a requirement for other nutch-artifacts to be built locally | |
95 rather than look for them online. | |
96 --> | |
97 <module organisation="org.apache.nutch" name=".*" resolver="internal"/> | |
98 <module organisation="org.commoncrawl" name=".*" resolver="internal-and-maven"/> | |
99 <module organisation="org.apache.tika" name="tika-core" resolver="internal-and-maven"/> | |
100 </modules> | |
101 </ivysettings> |