Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

commit to address NUTCH-1136 and update to changes.txt

Lewis John McGibbney14b1087609cb
diff --git a/CHANGES.txt b/CHANGES.txt
index 322534143..02414d161 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
Release 1.4 - Current development
+* NUTCH-1136 Ant pmd target is broken
+
* NUTCH-1058 Upgrade Solr schema to version 1.4 (markus)
* NUTCH-1137 LinkDB invertlinks other options ignored when using -dir option (Sebastian Nagel, markus)
diff --git a/build.xml b/build.xml
index 7d1a4c872..fa116e535 100644
--- a/build.xml
+++ b/build.xml
@@ -323,40 +323,8 @@
</target>
<!-- ================================================================== -->
- <!-- Run code checks (PMD) -->
- <!-- ================================================================== -->
- <target name="pmd" depends="compile">
- <property name="pmd.report" location="${build.dir}/pmd-report.html" />
- <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
- <classpath>
- <fileset dir="${lib.dir}">
- <include name="pmd-ext/*.jar" />
- <include name="xerces*.jar" />
- </fileset>
- </classpath>
- </taskdef>
- <pmd shortFilenames="true" failonerror="true" failOnRuleViolation="false"
- encoding="${build.encoding}" failuresPropertyName="pmd.failures">
- <ruleset>unusedcode</ruleset>
- <!--ruleset>basic</ruleset-->
- <!--ruleset>optimizations</ruleset-->
- <formatter type="html" toFile="${pmd.report}" />
- <!-- <formatter type="xml" toFile="${tempbuild}/$report_pmd.xml"/> -->
- <fileset dir="${basedir}/src">
- <include name="java/**/*.java"/>
- <include name="plugin/**/*.java"/>
- </fileset>
- </pmd>
- <condition property="pmd.stop" value="true">
- <and>
- <isset property="pmd.failures" />
- <not>
- <equals arg1="0" arg2="${pmd.failures}" trim="true" />
- </not>
- </and>
- </condition>
- <fail if="pmd.stop">FAILURE: PMD shows ${pmd.failures} rule violations. See ${pmd.report} for details.</fail>
- </target>
+ <!-- Run Nutch proxy -->
+ <!-- ================================================================== -->
<target name="proxy" depends="job, compile-core-test">
<java classname="org.apache.nutch.tools.proxy.TestbedProxy" fork="true">
@@ -370,6 +338,10 @@
</java>
</target>
+ <!-- ================================================================== -->
+ <!-- Run Nutch benchmarking analysis -->
+ <!-- ================================================================== -->
+
<target name="benchmark">
<java classname="org.apache.nutch.tools.Benchmark" fork="true">
<classpath refid="test.classpath"/>