Mercurial > hg > cc > cirrus_home
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/nutch-cc/ivy/ivysettings.xml Wed May 06 14:24:42 2020 +0100 @@ -0,0 +1,101 @@ +<ivysettings> + + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <property name="oss.sonatype.org" + value="https://oss.sonatype.org/content/repositories/releases/" + override="false"/> + <property name="repo.maven.org" + value="https://repo1.maven.org/maven2/" + override="false"/> + <property name="repository.apache.org" + value="https://repository.apache.org/content/repositories/snapshots/" + override="false"/> + <property name="maven2.pattern" + value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier])"/> + <property name="maven2.pattern.ext" + value="${maven2.pattern}.[ext]"/> + <property name="maven2.pattern.local" + value="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" + override="false" /> + <!-- pull in the local repository --> + <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/> + <settings defaultResolver="default"/> + <resolvers> + <ibiblio name="maven2" + root="${repo.maven.org}" + pattern="${maven2.pattern.ext}" + m2compatible="true" + /> + <ibiblio name="apache-snapshot" + root="${repository.apache.org}" + m2compatible="true" + changingMatcher="regexp" + changingPattern=".*SNAPSHOT.*" + checkmodified="true" + /> + <ibiblio name="sonatype" + root="${oss.sonatype.org}" + pattern="${maven2.pattern.ext}" + m2compatible="true" + /> + <ibiblio name="cloudera-repos" + root="https://repository.cloudera.com/artifactory/cloudera-repos/" + pattern="${maven2.pattern.ext}" + m2compatible="true" + /> + <ibiblio name="maven2-local" m2compatible="true" + root="file://${user.home}/.m2/repository" + pattern="${maven2.pattern.ext}"/> + <chain name="default" dual="true"> + <resolver ref="local"/> + <resolver ref="maven2"/> + <resolver ref="apache-snapshot"/> + <resolver ref="sonatype"/> + <resolver ref="cloudera-repos"/> + <resolver ref="maven2-local"/> + </chain> + <chain name="internal"> + <resolver ref="local"/> + </chain> + <chain name="internal-and-maven"> + <resolver ref="local"/> + <resolver ref="maven2-local"/> + <resolver ref="maven2"/> + <resolver ref="apache-snapshot"/> + <resolver ref="sonatype"/> + <resolver ref="cloudera-repos"/> + </chain> + <chain name="external"> + <resolver ref="maven2"/> + </chain> + <chain name="external-and-snapshots"> + <resolver ref="maven2"/> + <resolver ref="apache-snapshot"/> + <resolver ref="sonatype"/> + </chain> + </resolvers> + <modules> + <!-- + This forces a requirement for other nutch-artifacts to be built locally + rather than look for them online. + --> + <module organisation="org.apache.nutch" name=".*" resolver="internal"/> + <module organisation="org.commoncrawl" name=".*" resolver="internal-and-maven"/> + <module organisation="org.apache.tika" name="tika-core" resolver="internal-and-maven"/> + </modules> +</ivysettings>