Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1807 Avoid methods relying on system-specific default locale / charset

Sebastian Nagelc451051b91b8
diff --git a/build.xml b/build.xml
index d606fe021..c93188430 100644
--- a/build.xml
+++ b/build.xml
@@ -1171,7 +1171,14 @@
<ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="${forbiddenapis.version}"
inline="true" pathid="forbiddenapis.classpath"/>
<taskdef uri="antlib:de.thetaphi.forbiddenapis" classpathref="forbiddenapis.classpath"/>
- <fa:forbiddenapis classpathref="classpath" dir="${build.dir}" targetVersion="${javac.version}">
+ <path id="classpath.core-and-plugins">
+ <path refid="classpath"/>
+ <fileset dir="${basedir}/${build.dir}/plugins">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+ <fa:forbiddenapis classpathref="classpath.core-and-plugins"
+ dir="${build.dir}" targetVersion="${javac.version}">
<bundledsignatures name="jdk-unsafe"/>
<bundledsignatures name="jdk-deprecated"/>
<bundledsignatures name="jdk-non-portable"/>