Index: src/plugin/build.xml
===================================================================
--- src/plugin/build.xml	(revision 375761)
+++ src/plugin/build.xml	(working copy)
@@ -13,6 +13,7 @@
      <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="nutch-extensionpoints" target="deploy"/>
      <ant dir="ontology" target="deploy"/>
@@ -75,6 +76,7 @@
     <ant dir="languageidentifier" 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="nutch-extensionpoints" target="clean"/>
     <ant dir="ontology" target="clean"/>
Index: src/plugin/parse-rss/lib/log4j-1.2.6.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: src/plugin/parse-rss/plugin.xml
===================================================================
--- src/plugin/parse-rss/plugin.xml	(revision 375761)
+++ src/plugin/parse-rss/plugin.xml	(working copy)
@@ -24,6 +24,7 @@
 
    <requires>
       <import plugin="nutch-extensionpoints"/>
+      <import plugin="lib-log4j"/>
    </requires>
 
    <extension id="org.apache.nutch.parse.rss"
Index: src/plugin/parse-rss/build.xml
===================================================================
--- src/plugin/parse-rss/build.xml	(revision 375761)
+++ src/plugin/parse-rss/build.xml	(working copy)
@@ -4,6 +4,11 @@
 
   <import file="../build-plugin.xml"/>
   
+  <path id="plugin.deps">
+    <fileset dir="../lib-log4j/lib">
+      <include name="*.jar" />
+    </fileset>
+  </path>
   
   <!-- for junit test -->
   <mkdir dir="${build.test}/data"/>
Index: src/plugin/parse-pdf/lib/log4j-1.2.9.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: src/plugin/parse-pdf/lib/log4j-LICENSE.txt
===================================================================
--- src/plugin/parse-pdf/lib/log4j-LICENSE.txt	(revision 375761)
+++ src/plugin/parse-pdf/lib/log4j-LICENSE.txt	(working copy)
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- *                   The Apache Software License, Version 1.1
- * ============================================================================
- * 
- *    Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of  source code must  retain the above copyright  notice,
- *    this list of conditions and the following disclaimer.
- * 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *    this list of conditions and the following disclaimer in the documentation
- *    and/or other materials provided with the distribution.
- * 
- * 3. The end-user documentation included with the redistribution, if any, must
- *    include  the following  acknowledgment:  "This product includes  software
- *    developed  by the  Apache Software Foundation  (http://www.apache.org/)."
- *    Alternately, this  acknowledgment may  appear in the software itself,  if
- *    and wherever such third-party acknowledgments normally appear.
- * 
- * 4. The names "log4j" and  "Apache Software Foundation"  must not be used to
- *    endorse  or promote  products derived  from this  software without  prior
- *    written permission. For written permission, please contact
- *    apache@apache.org.
- * 
- * 5. Products  derived from this software may not  be called "Apache", nor may
- *    "Apache" appear  in their name,  without prior written permission  of the
- *    Apache Software Foundation.
- * 
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
- * APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
- * ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
- * (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * 
- * This software  consists of voluntary contributions made  by many individuals
- * on  behalf of the Apache Software  Foundation.  For more  information on the 
- * Apache Software Foundation, please see <http://www.apache.org/>.
- *
- */
Index: src/plugin/parse-pdf/plugin.xml
===================================================================
--- src/plugin/parse-pdf/plugin.xml	(revision 375761)
+++ src/plugin/parse-pdf/plugin.xml	(working copy)
@@ -16,6 +16,7 @@
 
    <requires>
       <import plugin="nutch-extensionpoints"/>
+      <import plugin="lib-log4j"/>
    </requires>
 
    <extension id="org.apache.nutch.parse.pdf"
Index: src/plugin/parse-pdf/build.xml
===================================================================
--- src/plugin/parse-pdf/build.xml	(revision 375761)
+++ src/plugin/parse-pdf/build.xml	(working copy)
@@ -4,6 +4,12 @@
 
   <import file="../build-plugin.xml"/>
 
+  <path id="plugin.deps">
+    <fileset dir="../lib-log4j/lib">
+      <include name="*.jar" />
+    </fileset>
+  </path>
+
   <!-- for junit test -->
   <mkdir dir="${build.test}/data"/>
   <copy file="sample/pdftest.pdf" todir="${build.test}/data"/>
Index: src/plugin/lib-log4j/lib/log4j-1.2.11.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: src/plugin/lib-log4j/lib/log4j-1.2.11.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Index: src/plugin/lib-log4j/plugin.xml
===================================================================
--- src/plugin/lib-log4j/plugin.xml	(revision 0)
+++ src/plugin/lib-log4j/plugin.xml	(revision 0)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! 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>

Property changes on: src/plugin/lib-log4j/plugin.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Index: src/plugin/lib-log4j/build.xml
===================================================================
--- src/plugin/lib-log4j/build.xml	(revision 0)
+++ src/plugin/lib-log4j/build.xml	(revision 0)
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+
+<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">
+    <echo message="Compiling plugin: ${name}"/>
+  </target>
+
+  <target name="jar" depends="compile"/>
+
+</project>

Property changes on: src/plugin/lib-log4j/build.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Index: src/plugin/clustering-carrot2/lib/log4j.LICENSE
===================================================================
--- src/plugin/clustering-carrot2/lib/log4j.LICENSE	(revision 375761)
+++ src/plugin/clustering-carrot2/lib/log4j.LICENSE	(working copy)
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- *                   The Apache Software License, Version 1.1
- * ============================================================================
- * 
- *    Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of  source code must  retain the above copyright  notice,
- *    this list of conditions and the following disclaimer.
- * 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *    this list of conditions and the following disclaimer in the documentation
- *    and/or other materials provided with the distribution.
- * 
- * 3. The end-user documentation included with the redistribution, if any, must
- *    include  the following  acknowledgment:  "This product includes  software
- *    developed  by the  Apache Software Foundation  (http://www.apache.org/)."
- *    Alternately, this  acknowledgment may  appear in the software itself,  if
- *    and wherever such third-party acknowledgments normally appear.
- * 
- * 4. The names "log4j" and  "Apache Software Foundation"  must not be used to
- *    endorse  or promote  products derived  from this  software without  prior
- *    written permission. For written permission, please contact
- *    apache@apache.org.
- * 
- * 5. Products  derived from this software may not  be called "Apache", nor may
- *    "Apache" appear  in their name,  without prior written permission  of the
- *    Apache Software Foundation.
- * 
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
- * APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
- * ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
- * (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * 
- * This software  consists of voluntary contributions made  by many individuals
- * on  behalf of the Apache Software  Foundation.  For more  information on the 
- * Apache Software Foundation, please see <http://www.apache.org/>.
- *
- */
Index: src/plugin/clustering-carrot2/lib/log4j-1.2.11.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: src/plugin/clustering-carrot2/plugin.xml
===================================================================
--- src/plugin/clustering-carrot2/plugin.xml	(revision 375761)
+++ src/plugin/clustering-carrot2/plugin.xml	(working copy)
@@ -29,6 +29,7 @@
 
    <requires>
       <import plugin="nutch-extensionpoints"/>
+      <import plugin="lib-log4j"/>
    </requires>
 
    <extension id="org.apache.nutch.clustering.carrot2"
Index: src/plugin/clustering-carrot2/build.xml
===================================================================
--- src/plugin/clustering-carrot2/build.xml	(revision 375761)
+++ src/plugin/clustering-carrot2/build.xml	(working copy)
@@ -4,4 +4,10 @@
 
   <import file="../build-plugin.xml"/>
 
+  <path id="plugin.deps">
+    <fileset dir="../lib-log4j/lib">
+      <include name="*.jar" />
+    </fileset>
+  </path>
+
 </project>
