Apache Nutch is an extensible and scalable web crawler
<?xml version='1.0' encoding='utf-8'?>
<!-- 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.
-->
<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
xmlns:ns0="http://ant.apache.org/ivy/maven" version="2.0">
<info organisation="org.apache.nutch" module="nutch">
<license name="Apache 2.0" url="https://www.apache.org/licenses/LICENSE-2.0.txt" />
<ivyauthor name="Apache Nutch Team" url="https://nutch.apache.org/" />
<description homepage="https://nutch.apache.org/">Nutch is an open source web-search
software. It builds on Hadoop, Tika and Solr, adding web-specifics,
such as a crawler, a link-graph database etc.
</description>
</info>
<configurations>
<include file="${basedir}/ivy/ivy-configurations.xml" />
</configurations>
<publications>
<!--get the artifact from our module name -->
<artifact conf="master" />
</publications>
<dependencies>
<dependency org="org.apache.logging.log4j" name="log4j-api" rev="2.26.0" conf="*->master" />
<dependency org="org.apache.logging.log4j" name="log4j-core" rev="2.26.0" conf="*->master" />
<dependency org="org.apache.logging.log4j" name="log4j-slf4j2-impl" rev="2.26.0" conf="*->master" />
<dependency org="org.slf4j" name="slf4j-api" rev="2.0.18" conf="*->master" />
<dependency org="org.apache.commons" name="commons-lang3" rev="3.20.0" conf="*->default" />
<dependency org="org.apache.commons" name="commons-text" rev="1.10.0" conf="*->default" />
<dependency org="org.apache.commons" name="commons-collections4" rev="4.5.0" conf="*->master" />
<dependency org="org.apache.httpcomponents" name="httpclient" rev="4.5.14" conf="*->master" />
<!-- commons-httpclient is still required -->
<dependency org="commons-httpclient" name="commons-httpclient" rev="3.1"/>
<dependency org="commons-codec" name="commons-codec" rev="1.22.0" conf="*->default" />
<dependency org="commons-io" name="commons-io" rev="2.22.0" conf="*->default" />
<dependency org="org.apache.commons" name="commons-compress" rev="1.28.0" conf="*->default" />
<dependency org="org.apache.commons" name="commons-jexl3" rev="3.6.0" conf="*->default" />
<dependency org="com.tdunning" name="t-digest" rev="3.3" />
<!-- Pin to Hadoop 3.5.0's commons-cli so a newer transitive cannot
win at compile time and flag HelpFormatter / Option.Builder.build(). -->
<dependency org="commons-cli" name="commons-cli" rev="1.9.0" force="true"
conf="*->default" />
<!-- Hadoop Dependencies -->
<dependency org="org.apache.hadoop" name="hadoop-common" rev="${hadoop.version}" conf="*->default">
<exclude org="ch.qos.reload4j" name="*"/>
<exclude org="org.slf4j" name="*" />
</dependency>
<dependency org="org.apache.hadoop" name="hadoop-hdfs" rev="${hadoop.version}" conf="*->default">
<exclude org="ch.qos.reload4j" name="*"/>
<exclude org="org.slf4j" name="*" />
</dependency>
<dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-core" rev="${hadoop.version}" conf="*->default">
<exclude org="ch.qos.reload4j" name="*"/>
<exclude org="org.slf4j" name="*" />
</dependency>
<dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-jobclient" rev="${hadoop.version}" conf="*->default">
<exclude org="ch.qos.reload4j" name="*"/>
<exclude org="org.slf4j" name="*" />
</dependency>
<!-- End of Hadoop Dependencies -->
<dependency org="org.apache.tika" name="tika-core" rev="3.3.1" conf="*->default"/>
<dependency org="xerces" name="xercesImpl" rev="2.12.2" />
<dependency org="com.ibm.icu" name="icu4j" rev="78.3" />
<dependency org="com.google.guava" name="guava" rev="33.6.0-jre" />
<dependency org="com.github.crawler-commons" name="crawler-commons" rev="1.6" />
<dependency org="com.google.code.gson" name="gson" rev="2.13.2"/>
<dependency org="com.martinkl.warc" name="warc-hadoop" rev="0.1.0">
<exclude module="hadoop-client" />
</dependency>
<dependency org="com.fasterxml.jackson.core" name="jackson-databind" rev="2.18.8" conf="*->default" />
<dependency org="com.fasterxml.jackson.core" name="jackson-annotations" rev="2.18.8" conf="*->default" />
<dependency org="com.fasterxml.jackson.dataformat" name="jackson-dataformat-cbor" rev="2.18.8" conf="*->default" />
<!-- WARC artifacts needed -->
<dependency org="org.netpreserve.commons" name="webarchive-commons" rev="3.0.4" conf="*->default">
<exclude module="hadoop-core" />
<exclude org="com.google.guava" />
<exclude org="junit" />
<!-- Exclude dependencies with incompatible license (see https://www.apache.org/legal/resolved.html#category-x) -->
<exclude org="org.json" /><!-- JSON License -->
<!--
Exclusion of the following dependencies disables support of WARC generation by
"bin/nutch commoncrawldump -warc ..."
Please remove these exclusion and recompile Nutch to generate WARC files using the tool "commoncrawldump".
-->
<exclude org="it.unimi.dsi" module="dsiutils" /><!-- LGPL 2.1 -->
<exclude org="org.gnu.inet" module="libidn" /><!-- LGPL 2.1 -->
</dependency>
<dependency org="org.hamcrest" name="hamcrest" rev="3.0" conf="test->default"/>
<!-- JSpecify nullability annotations for improved null safety -->
<dependency org="org.jspecify" name="jspecify" rev="1.0.0" conf="*->default"/>
<!-- Required for <junitlauncher> task -->
<dependency org="org.junit.platform" name="junit-platform-launcher" rev="6.1.0" conf="test->default"/>
<!-- Required for JUnit 6 (Jupiter) test execution -->
<dependency org="org.junit.jupiter" name="junit-jupiter-engine" rev="6.1.0" conf="test->default"/>
<dependency org="org.junit.jupiter" name="junit-jupiter-api" rev="6.1.0" conf="test->default"/>
<dependency org="org.junit.jupiter" name="junit-jupiter-params" rev="6.1.0" conf="test->default"/>
<!-- Mockito for mocking in tests -->
<dependency org="org.mockito" name="mockito-core" rev="5.23.0" conf="test->default"/>
<dependency org="org.mockito" name="mockito-junit-jupiter" rev="5.23.0" conf="test->default"/>
<!-- Testcontainers for indexer and protocol plugin integration tests -->
<dependency org="org.testcontainers" name="testcontainers" rev="2.0.5" conf="test->default"/>
<dependency org="org.testcontainers" name="junit-jupiter" rev="1.21.4" conf="test->default"/>
<!-- WireMock for HTTP mock server in protocol-httpclient integration tests -->
<dependency org="com.github.tomakehurst" name="wiremock-standalone" rev="3.0.1" conf="test->default"/>
<!-- MockFtpServer for in-process FTP server in protocol-ftp integration tests -->
<dependency org="org.mockftpserver" name="MockFtpServer" rev="3.2.0" conf="test->default"/>
<!-- MockServer (https://www.mock-server.com/) for static HTTP content in unit tests. -->
<dependency org="org.mock-server" name="mockserver-netty-no-dependencies" rev="7.2.0" conf="test->default" />
<dependency org="org.mock-server" name="mockserver-client-java-no-dependencies" rev="7.2.0" conf="test->default" />
<!--Added Because of Elasticsearch JEST client-->
<!--TODO refactor these to indexer-elastic-rest plugin somehow, currently doesn't resolve correctly-->
<dependency org="org.apache.httpcomponents" name="httpcore-nio" rev="4.4.16" />
<dependency org="org.apache.httpcomponents" name="httpcore" rev="4.4.16" />
<dependency org="de.vandermeer" name="asciitable" rev="0.3.2" />
<dependency org="org.littleshoot" name="littleproxy" rev="1.1.2" conf="test->default"/>
<!--global exclusion -->
<exclude module="jmxtools" />
<exclude module="jms" />
<exclude module="jmxri" />
<exclude module="slf4j-log4j12" />
<exclude module="log4j" /><!-- exclude log4j 1.x -->
<exclude org="com.thoughtworks.xstream" />
</dependencies>
</ivy-module>