Apache Nutch is an extensible and scalable web crawler
NUTCH-482 Remove redundant plugin lib-log4j
Sami Siren63b48b1800c3
diff --git a/CHANGES.txt b/CHANGES.txtindex acd7895af..2a339ba21 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -14,7 +14,9 @@ Unreleased changes (1.0-dev)5. NUTCH-446 - RobotRulesParser should ignore Crawl-delay values of otherbots in robots.txt (Dogacan Guney via siren)-++ 6. NUTCH-482 - Remove redundant plugin lib-log4j (siren)+Release 0.9 - 2007-04-02diff --git a/src/plugin/build.xml b/src/plugin/build.xmlindex f656333d3..721d26870 100755--- a/src/plugin/build.xml+++ b/src/plugin/build.xml@@ -33,7 +33,6 @@<ant dir="languageidentifier" target="deploy"/><ant dir="lib-http" target="deploy"/><ant dir="lib-jakarta-poi" target="deploy"/>- <ant dir="lib-log4j" target="deploy"/><ant dir="lib-lucene-analyzers" target="deploy"/><ant dir="lib-nekohtml" target="deploy"/><ant dir="lib-parsems" target="deploy"/>@@ -122,7 +121,6 @@<ant dir="lib-commons-httpclient" target="clean"/><ant dir="lib-http" target="clean"/><ant dir="lib-jakarta-poi" target="clean"/>- <ant dir="lib-log4j" target="clean"/><ant dir="lib-lucene-analyzers" target="clean"/><ant dir="lib-nekohtml" target="clean"/><ant dir="lib-parsems" target="clean"/>diff --git a/src/plugin/clustering-carrot2/build.xml b/src/plugin/clustering-carrot2/build.xmlindex 52a99c252..907bf0f44 100644--- a/src/plugin/clustering-carrot2/build.xml+++ b/src/plugin/clustering-carrot2/build.xml@@ -21,21 +21,18 @@<!-- Build compilation dependencies --><target name="deps-jar">- <ant target="jar" inheritall="false" dir="../lib-log4j"/><ant target="jar" inheritall="false" dir="../lib-nekohtml"/></target><!-- Add compilation dependencies to classpath --><path id="plugin.deps"><fileset dir="${nutch.root}/build">- <include name="**/lib-log4j/*.jar" /><include name="**/lib-nekohtml/*.jar" /></fileset></path><!-- Deploy Unit test dependencies --><target name="deps-test">- <ant target="deploy" inheritall="false" dir="../lib-log4j"/><ant target="deploy" inheritall="false" dir="../lib-nekohtml"/><ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/></target>diff --git a/src/plugin/clustering-carrot2/plugin.xml b/src/plugin/clustering-carrot2/plugin.xmlindex 65f692ff1..9254c61c8 100644--- a/src/plugin/clustering-carrot2/plugin.xml+++ b/src/plugin/clustering-carrot2/plugin.xml@@ -40,7 +40,6 @@<requires><import plugin="nutch-extensionpoints"/>- <import plugin="lib-log4j"/></requires><extension id="org.apache.nutch.clustering.carrot2"diff --git a/src/plugin/lib-log4j/build.xml b/src/plugin/lib-log4j/build.xmldeleted file mode 100644index 6d332333f..000000000--- a/src/plugin/lib-log4j/build.xml+++ /dev/null@@ -1,34 +0,0 @@-<?xml version="1.0"?>-<!--- Licensed to the Apache Software Foundation (ASF) under one or more- contributor license agreements. See the NOTICE file distributed with- this work for additional information regarding copyright ownership.- The ASF licenses this file to You under the Apache License, Version 2.0- (the "License"); you may not use this file except in compliance with- the License. You may obtain a copy of the License at-- http://www.apache.org/licenses/LICENSE-2.0-- Unless required by applicable law or agreed to in writing, software- distributed under the License is distributed on an "AS IS" BASIS,- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.- See the License for the specific language governing permissions and- limitations under the License.--->-<project name="lib-log4j" default="jar">-- <import file="../build-plugin.xml"/>-- <!--- ! Override the compile and jar targets,- ! since there is nothing to compile here.- ! -->- <target name="compile" depends="init"/>-- <target name="jar" depends="compile">- <copy todir="${build.dir}" verbose="true">- <fileset dir="./lib" includes="**/*.jar"/>- </copy>- </target>--</project>diff --git a/src/plugin/lib-log4j/lib/log4j-1.2.11.jar b/src/plugin/lib-log4j/lib/log4j-1.2.11.jardeleted file mode 100644index b603fe646..000000000Binary files a/src/plugin/lib-log4j/lib/log4j-1.2.11.jar and /dev/null differdiff --git a/src/plugin/lib-log4j/plugin.xml b/src/plugin/lib-log4j/plugin.xmldeleted file mode 100644index 300c9625b..000000000--- a/src/plugin/lib-log4j/plugin.xml+++ /dev/null@@ -1,37 +0,0 @@-<?xml version="1.0" encoding="UTF-8"?>-<!--- Licensed to the Apache Software Foundation (ASF) under one or more- contributor license agreements. See the NOTICE file distributed with- this work for additional information regarding copyright ownership.- The ASF licenses this file to You under the Apache License, Version 2.0- (the "License"); you may not use this file except in compliance with- the License. You may obtain a copy of the License at-- http://www.apache.org/licenses/LICENSE-2.0-- Unless required by applicable law or agreed to in writing, software- distributed under the License is distributed on an "AS IS" BASIS,- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.- See the License for the specific language governing permissions and- limitations under the License.--->-<!--- ! Log4j library- ! (http://logging.apache.org/log4j/)- !- ! Dowload : http://logging.apache.org/site/binindex.cgi- ! License : http://www.apache.org/licenses/LICENSE-2.0.txt- !-->-<plugin- id="lib-log4j"- name="Log4j"- version="1.2.11"- provider-name="org.apache.log4j">-- <runtime>- <library name="log4j-1.2.11.jar">- <export name="*"/>- </library>- </runtime>--</plugin>diff --git a/src/plugin/parse-pdf/build.xml b/src/plugin/parse-pdf/build.xmlindex f787280b1..94d2bf225 100644--- a/src/plugin/parse-pdf/build.xml+++ b/src/plugin/parse-pdf/build.xml@@ -19,21 +19,8 @@<import file="../build-plugin.xml"/>- <!-- Build compilation dependencies -->- <target name="deps-jar">- <ant target="jar" inheritall="false" dir="../lib-log4j"/>- </target>-- <!-- Add compilation dependencies to classpath -->- <path id="plugin.deps">- <fileset dir="${nutch.root}/build">- <include name="**/lib-log4j/*.jar" />- </fileset>- </path>-<!-- Deploy Unit test dependencies --><target name="deps-test">- <ant target="deploy" inheritall="false" dir="../lib-log4j"/><ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/><ant target="deploy" inheritall="false" dir="../protocol-file"/></target>diff --git a/src/plugin/parse-pdf/plugin.xml b/src/plugin/parse-pdf/plugin.xmlindex ea1d11c1c..480a09e24 100644--- a/src/plugin/parse-pdf/plugin.xml+++ b/src/plugin/parse-pdf/plugin.xml@@ -27,12 +27,10 @@<export name="*"/></library><library name="PDFBox-0.7.2-log4j.jar"/>- <library name="log4j-1.2.9.jar"/></runtime><requires><import plugin="nutch-extensionpoints"/>- <import plugin="lib-log4j"/></requires><extension id="org.apache.nutch.parse.pdf"diff --git a/src/plugin/parse-rss/build.xml b/src/plugin/parse-rss/build.xmlindex 3a9564452..71c40d3e7 100644--- a/src/plugin/parse-rss/build.xml+++ b/src/plugin/parse-rss/build.xml@@ -22,21 +22,18 @@<!-- Build compilation dependencies --><target name="deps-jar"><ant target="jar" inheritall="false" dir="../lib-xml"/>- <ant target="jar" inheritall="false" dir="../lib-log4j"/></target><!-- Add compilation dependencies to classpath --><path id="plugin.deps"><fileset dir="${nutch.root}/build"><include name="**/lib-xml/*.jar" />- <include name="**/lib-log4j/*.jar" /></fileset></path><!-- Deploy Unit test dependencies --><target name="deps-test"><ant target="deploy" inheritall="false" dir="../lib-xml"/>- <ant target="deploy" inheritall="false" dir="../lib-log4j"/><ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/><ant target="deploy" inheritall="false" dir="../protocol-file"/></target>diff --git a/src/plugin/parse-rss/plugin.xml b/src/plugin/parse-rss/plugin.xmlindex ccfc7ba7d..79fa19dc0 100644--- a/src/plugin/parse-rss/plugin.xml+++ b/src/plugin/parse-rss/plugin.xml@@ -33,7 +33,6 @@<requires><import plugin="nutch-extensionpoints"/><import plugin="lib-xml"/>- <import plugin="lib-log4j"/></requires><extension id="org.apache.nutch.parse.rss"