Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2204 Remove junit lib from runtime

Sebastian Nagel5f4a293245be
diff --git a/CHANGES.txt b/CHANGES.txt
index 1cb44dba5..548947eb1 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
Nutch Change Log
+* NUTCH-2204 Remove junit lib from runtime (snagel)
+
* NUTCH-2201 Remove loops program from webgraph package (markus)
* NUTCH-1325 HostDB for Nutch (Gui Forget, markus, tejasp)
diff --git a/conf/regex-normalize.xml.template b/conf/regex-normalize.xml.template
index ec60c1081..209ac8634 100644
--- a/conf/regex-normalize.xml.template
+++ b/conf/regex-normalize.xml.template
@@ -39,11 +39,12 @@
<substitution>/$3</substitution>
</regex> -->
-<!-- removes interpage href anchors such as site.com#location -->
+<!-- removes interpage href anchors such as site.com#location
+ (also done by urlnormalizer-basic
<regex>
- <pattern>#.*?(\?|&amp;|$)</pattern>
+ <pattern>#.*</pattern>
<substitution>$1</substitution>
-</regex>
+</regex> -->
<!-- cleans ?&amp;var=value into ?var=value -->
<regex>
diff --git a/ivy/ivy.xml b/ivy/ivy.xml
index dbd6cf89b..54274b495 100644
--- a/ivy/ivy.xml
+++ b/ivy/ivy.xml
@@ -92,6 +92,7 @@
<dependency org="org.netpreserve.commons" name="webarchive-commons" rev="1.1.5" conf="*->default">
<exclude module="hadoop-core"/>
<exclude org="com.google.guava"/>
+ <exclude org="junit"/>
</dependency>
<!--artifacts needed for testing -->