Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Exclude hsqldb.jar from nutch.job due to a conflict with hsqldb that ships with Hadoop.

Andrzej Bialecki364999bcac33
diff --git a/build.xml b/build.xml
index 312e0c642..25a215a79 100644
--- a/build.xml
+++ b/build.xml
@@ -122,8 +122,11 @@
<zipfileset dir="${build.classes}"
excludes="nutch-default.xml,nutch-site.xml"/>
<zipfileset dir="${conf.dir}" excludes="*.template,hadoop*.*"/>
+ <!-- need to exclude hsqldb.jar due to a conflicting version already
+ present in Hadoop/lib.
+ -->
<zipfileset dir="${build.lib.dir}" prefix="lib"
- includes="**/*.jar" excludes="hadoop-*.jar"/>
+ includes="**/*.jar" excludes="hadoop-*.jar,hsqldb*.jar"/>
<zipfileset dir="${build.plugins}" prefix="plugins"/>
</jar>
</target>