Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Merge branch 'master' into feature/NUTCH-1129-microdata

Dominique Wirzb62c2c859b49
diff --cc build.xml
index 56175be72,56be49533..a9b1d8967
--- a/build.xml
+++ b/build.xml
@@@ -1017,13 -1028,10 +1028,11 @@@
<library path="${conf.dir}" exported="false" />
<library path="${basedir}/src/bin" exported="false" />
<library pathref="eclipse.classpath" exported="false" />
-
+
<source path="${basedir}/src/java/" />
<source path="${basedir}/src/test/" output="build/test/classes" />
-
-
+ <source path="${plugins.dir}/any23/src/java/" />
+ <source path="${plugins.dir}/any23/src/test/" />
-
<source path="${plugins.dir}/creativecommons/src/java/" />
<source path="${plugins.dir}/creativecommons/src/test/" />
<source path="${plugins.dir}/feed/src/java/" />
diff --cc ivy/ivy.xml
index 40b73e16d,2dbe58351..21da2d38c
--- a/ivy/ivy.xml
+++ b/ivy/ivy.xml
@@@ -60,13 -60,12 +60,13 @@@
<exclude org="org.mortbay.jetty" name="jsp-*" />
<exclude org="ant" name="ant" />
</dependency>
- <dependency org="org.apache.hadoop" name="hadoop-hdfs" rev="2.7.2" conf="*->default"/>
- <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-core" rev="2.7.2" conf="*->default"/>
- <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-jobclient" rev="2.7.2" conf="*->default"/>
- <!-- End of Hadoop Dependencies -->
+ <dependency org="org.apache.hadoop" name="hadoop-hdfs" rev="2.7.4" conf="*->default"/>
+ <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-core" rev="2.7.4" conf="*->default"/>
+ <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-jobclient" rev="2.7.4" conf="*->default"/>
+ <!-- End of Hadoop Dependencies -->
- <dependency org="org.apache.tika" name="tika-core" rev="1.12" />
- <dependency org="org.apache.any23" name="apache-any23-core" rev="2.0"/>
+ <dependency org="org.apache.tika" name="tika-core" rev="1.17" />
++ <dependency org="org.apache.any23" name="apache-any23-core" rev="2.0"/>
<dependency org="com.ibm.icu" name="icu4j" rev="55.1" />
<dependency org="xerces" name="xercesImpl" rev="2.11.0" />
diff --cc src/plugin/build.xml
index 5a8702c20,5052082cd..d035d54b9
--- a/src/plugin/build.xml
+++ b/src/plugin/build.xml
@@@ -26,91 -26,94 +26,96 @@@
<!-- Build & deploy all the plugin jars. -->
<!-- ====================================================== -->
<target name="deploy">
- <ant dir="any23" target="deploy"/>
- <ant dir="creativecommons" target="deploy"/>
- <ant dir="feed" target="deploy"/>
- <ant dir="headings" target="deploy"/>
- <ant dir="index-basic" target="deploy"/>
- <ant dir="index-anchor" target="deploy"/>
- <ant dir="index-geoip" target="deploy"/>
- <ant dir="index-more" target="deploy"/>
- <ant dir="index-replace" target="deploy"/>
- <ant dir="index-static" target="deploy"/>
- <ant dir="index-metadata" target="deploy"/>
- <ant dir="index-links" target="deploy"/>
- <ant dir="mimetype-filter" target="deploy"/>
- <ant dir="indexer-cloudsearch" target="deploy"/>
- <ant dir="indexer-dummy" target="deploy"/>
- <ant dir="indexer-elastic" target="deploy"/>
- <ant dir="indexer-elastic-rest" target="deploy"/>
- <ant dir="indexer-solr" target="deploy"/>
- <ant dir="indexer-rabbit" target="deploy"/>
- <ant dir="language-identifier" target="deploy"/>
- <ant dir="lib-http" target="deploy"/>
- <ant dir="lib-nekohtml" target="deploy"/>
- <ant dir="lib-regex-filter" target="deploy"/>
- <ant dir="lib-xml" target="deploy"/>
- <ant dir="microformats-reltag" target="deploy"/>
- <ant dir="nutch-extensionpoints" target="deploy"/>
- <ant dir="protocol-file" target="deploy"/>
- <ant dir="protocol-ftp" target="deploy"/>
- <ant dir="protocol-http" target="deploy"/>
- <ant dir="protocol-httpclient" target="deploy"/>
- <ant dir="lib-htmlunit" target="deploy"/>
- <ant dir="protocol-htmlunit" target="deploy" />
- <ant dir="lib-selenium" target="deploy"/>
- <ant dir="protocol-selenium" target="deploy" />
- <ant dir="protocol-interactiveselenium" target="deploy" />
- <ant dir="parse-ext" target="deploy"/>
- <ant dir="parse-js" target="deploy"/>
- <ant dir="parse-html" target="deploy"/>
- <ant dir="parse-metatags" target="deploy"/>
- <ant dir="parse-swf" target="deploy"/>
- <ant dir="parse-tika" target="deploy"/>
- <ant dir="parse-zip" target="deploy"/>
- <ant dir="publish-rabbitmq" target="deploy"/>
- <ant dir="scoring-depth" target="deploy"/>
- <ant dir="scoring-opic" target="deploy"/>
- <ant dir="scoring-link" target="deploy"/>
- <ant dir="scoring-similarity" target="deploy"/>
- <ant dir="subcollection" target="deploy"/>
- <ant dir="tld" target="deploy"/>
- <ant dir="urlfilter-automaton" target="deploy"/>
- <ant dir="urlfilter-domain" target="deploy" />
- <ant dir="urlfilter-domainblacklist" target="deploy" />
- <ant dir="urlfilter-prefix" target="deploy"/>
- <ant dir="urlfilter-regex" target="deploy"/>
- <ant dir="urlfilter-suffix" target="deploy"/>
- <ant dir="urlfilter-validator" target="deploy"/>
- <ant dir="urlfilter-ignoreexempt" target="deploy"/>
- <ant dir="parsefilter-naivebayes" target="deploy"/>
- <ant dir="parsefilter-regex" target="deploy"/>
- <ant dir="urlmeta" target="deploy"/>
- <ant dir="urlnormalizer-ajax" target="deploy"/>
- <ant dir="urlnormalizer-basic" target="deploy"/>
- <ant dir="urlnormalizer-host" target="deploy"/>
- <ant dir="urlnormalizer-pass" target="deploy"/>
- <ant dir="urlnormalizer-protocol" target="deploy"/>
- <ant dir="urlnormalizer-querystring" target="deploy"/>
- <ant dir="urlnormalizer-regex" target="deploy"/>
- <ant dir="urlnormalizer-slash" target="deploy"/>
+ <!-- first build libs, other plugins depend on them -->
+ <ant dir="lib-htmlunit" target="deploy"/>
+ <ant dir="lib-http" target="deploy"/>
+ <ant dir="lib-nekohtml" target="deploy"/>
+ <ant dir="lib-regex-filter" target="deploy"/>
+ <ant dir="lib-selenium" target="deploy"/>
+ <ant dir="lib-xml" target="deploy"/>
+ <!-- real plugins -->
++ <ant dir="any23" target="deploy"/>
+ <ant dir="creativecommons" target="deploy"/>
+ <ant dir="feed" target="deploy"/>
+ <ant dir="headings" target="deploy"/>
+ <ant dir="index-anchor" target="deploy"/>
+ <ant dir="index-basic" target="deploy"/>
+ <ant dir="index-geoip" target="deploy"/>
+ <ant dir="index-jexl-filter" target="deploy"/>
+ <ant dir="index-links" target="deploy"/>
+ <ant dir="index-metadata" target="deploy"/>
+ <ant dir="index-more" target="deploy"/>
+ <ant dir="index-replace" target="deploy"/>
+ <ant dir="index-static" target="deploy"/>
+ <ant dir="indexer-cloudsearch" target="deploy"/>
+ <ant dir="indexer-dummy" target="deploy"/>
+ <ant dir="indexer-elastic" target="deploy"/>
+ <ant dir="indexer-elastic-rest" target="deploy"/>
+ <ant dir="indexer-rabbit" target="deploy"/>
+ <ant dir="indexer-solr" target="deploy"/>
+ <ant dir="language-identifier" target="deploy"/>
+ <ant dir="microformats-reltag" target="deploy"/>
+ <ant dir="mimetype-filter" target="deploy"/>
+ <ant dir="nutch-extensionpoints" target="deploy"/>
+ <ant dir="parse-ext" target="deploy"/>
+ <ant dir="parse-html" target="deploy"/>
+ <ant dir="parse-js" target="deploy"/>
+ <ant dir="parse-metatags" target="deploy"/>
+ <ant dir="parse-swf" target="deploy"/>
+ <ant dir="parse-tika" target="deploy"/>
+ <ant dir="parse-zip" target="deploy"/>
+ <ant dir="parsefilter-naivebayes" target="deploy"/>
+ <ant dir="parsefilter-regex" target="deploy"/>
+ <ant dir="protocol-file" target="deploy"/>
+ <ant dir="protocol-ftp" target="deploy"/>
+ <ant dir="protocol-htmlunit" target="deploy" />
+ <ant dir="protocol-http" target="deploy"/>
+ <ant dir="protocol-httpclient" target="deploy"/>
+ <ant dir="protocol-interactiveselenium" target="deploy" />
+ <ant dir="protocol-selenium" target="deploy" />
+ <ant dir="publish-rabbitmq" target="deploy"/>
+ <ant dir="scoring-depth" target="deploy"/>
+ <ant dir="scoring-link" target="deploy"/>
+ <ant dir="scoring-opic" target="deploy"/>
+ <ant dir="scoring-orphan" target="deploy"/>
+ <ant dir="scoring-similarity" target="deploy"/>
+ <ant dir="subcollection" target="deploy"/>
+ <ant dir="tld" target="deploy"/>
+ <ant dir="urlfilter-automaton" target="deploy"/>
+ <ant dir="urlfilter-domain" target="deploy" />
+ <ant dir="urlfilter-domainblacklist" target="deploy" />
+ <ant dir="urlfilter-prefix" target="deploy"/>
+ <ant dir="urlfilter-regex" target="deploy"/>
+ <ant dir="urlfilter-suffix" target="deploy"/>
+ <ant dir="urlfilter-validator" target="deploy"/>
+ <!-- urlfilter-ignoreexempt depends on urlfilter-regex, must build after -->
+ <ant dir="urlfilter-ignoreexempt" target="deploy"/>
+ <ant dir="urlmeta" target="deploy"/>
+ <ant dir="urlnormalizer-ajax" target="deploy"/>
+ <ant dir="urlnormalizer-basic" target="deploy"/>
+ <ant dir="urlnormalizer-host" target="deploy"/>
+ <ant dir="urlnormalizer-pass" target="deploy"/>
+ <ant dir="urlnormalizer-protocol" target="deploy"/>
+ <ant dir="urlnormalizer-querystring" target="deploy"/>
+ <ant dir="urlnormalizer-regex" target="deploy"/>
+ <ant dir="urlnormalizer-slash" target="deploy"/>
</target>
-
+
<!-- ====================================================== -->
<!-- Test all of the plugins. -->
<!-- ====================================================== -->
<target name="test">
<parallel threadCount="2">
+ <ant dir="any23" target="test"/>
<ant dir="creativecommons" target="test"/>
- <ant dir="index-basic" target="test"/>
+ <ant dir="feed" target="test"/>
<ant dir="index-anchor" target="test"/>
- <ant dir="index-geoip" target="test"/>
+ <ant dir="index-basic" target="test"/>
+ <!--ant dir="index-geoip" target="test"/-->
+ <ant dir="index-links" target="test"/>
<ant dir="index-more" target="test"/>
- <ant dir="index-static" target="test"/>
<ant dir="index-replace" target="test"/>
- <ant dir="index-links" target="test"/>
- <ant dir="mimetype-filter" target="test"/>
+ <ant dir="index-static" target="test"/>
<ant dir="indexer-elastic" target="test"/>
<ant dir="language-identifier" target="test"/>
<ant dir="lib-http" target="test"/>