Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Revert "NUTCH-2697: Upgrade Ivy to fix the issue of an unset packaging.type property. (#441)"

Sebastian Nagel5fc56b62d866
diff --git a/default.properties b/default.properties
index 142302505..bb987d966 100644
--- a/default.properties
+++ b/default.properties
@@ -63,7 +63,7 @@ runtime.dir=./runtime
runtime.deploy=${runtime.dir}/deploy
runtime.local=${runtime.dir}/local
-ivy.version=2.5.0-rc1
+ivy.version=2.4.0
ivy.dir=${basedir}/ivy
ivy.file=${ivy.dir}/ivy.xml
ivy.jar=${ivy.dir}/ivy-${ivy.version}.jar
diff --git a/ivy/ivysettings.xml b/ivy/ivysettings.xml
index d9b504400..a2dc70060 100644
--- a/ivy/ivysettings.xml
+++ b/ivy/ivysettings.xml
@@ -38,6 +38,14 @@
value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier])"/>
<property name="maven2.pattern.ext"
value="${maven2.pattern}.[ext]"/>
+ <!-- define packaging.type=jar to work around the failing dependency download of
+ javax.ws.rs-api.jar
+ required by Tika (1.19 and higher), cf.
+ https://github.com/eclipse-ee4j/jaxrs-api/issues/572
+ https://github.com/jax-rs/api/pull/576
+ -->
+ <property name="packaging.type"
+ value="jar"/>
<!-- pull in the local repository -->
<include url="${ivy.default.conf.dir}/ivyconf-local.xml"/>
<settings defaultResolver="default"/>