Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-196, Add a lib-xml plugin that gathers many XML related libraries

Jerome Charrondd91a83c884a
diff --git a/src/plugin/build.xml b/src/plugin/build.xml
index 42e8b4f0b..936e7a4a8 100755
--- a/src/plugin/build.xml
+++ b/src/plugin/build.xml
@@ -24,6 +24,7 @@
<ant dir="lib-nekohtml" target="deploy"/>
<ant dir="lib-parsems" target="deploy"/>
<ant dir="lib-regex-filter" target="deploy"/>
+ <ant dir="lib-xml" target="deploy"/>
<ant dir="microformats-reltag" target="deploy"/>
<ant dir="nutch-extensionpoints" target="deploy"/>
<ant dir="ontology" target="deploy"/>
@@ -97,6 +98,7 @@
<ant dir="lib-nekohtml" target="clean"/>
<ant dir="lib-parsems" target="clean"/>
<ant dir="lib-regex-filter" target="clean"/>
+ <ant dir="lib-xml" target="clean"/>
<ant dir="microformats-reltag" target="clean"/>
<ant dir="nutch-extensionpoints" target="clean"/>
<ant dir="ontology" target="clean"/>
diff --git a/src/plugin/lib-xml/build.xml b/src/plugin/lib-xml/build.xml
new file mode 100644
index 000000000..77437418a
--- /dev/null
+++ b/src/plugin/lib-xml/build.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+
+<project name="lib-xml" 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-xml/lib/jaxen-core.jar b/src/plugin/lib-xml/lib/jaxen-core.jar
new file mode 100644
index 000000000..e52bf679c
Binary files /dev/null and b/src/plugin/lib-xml/lib/jaxen-core.jar differ
diff --git a/src/plugin/lib-xml/lib/jaxen-jdom.jar b/src/plugin/lib-xml/lib/jaxen-jdom.jar
new file mode 100644
index 000000000..9f0bff2ee
Binary files /dev/null and b/src/plugin/lib-xml/lib/jaxen-jdom.jar differ
diff --git a/src/plugin/lib-xml/lib/jdom.jar b/src/plugin/lib-xml/lib/jdom.jar
new file mode 100644
index 000000000..7ccb9fda8
Binary files /dev/null and b/src/plugin/lib-xml/lib/jdom.jar differ
diff --git a/src/plugin/lib-xml/lib/saxpath.jar b/src/plugin/lib-xml/lib/saxpath.jar
new file mode 100644
index 000000000..2b43955ba
Binary files /dev/null and b/src/plugin/lib-xml/lib/saxpath.jar differ
diff --git a/src/plugin/lib-xml/lib/xercesImpl.jar b/src/plugin/lib-xml/lib/xercesImpl.jar
new file mode 100644
index 000000000..81919d3e3
Binary files /dev/null and b/src/plugin/lib-xml/lib/xercesImpl.jar differ
diff --git a/src/plugin/lib-xml/plugin.xml b/src/plugin/lib-xml/plugin.xml
new file mode 100644
index 000000000..bd210826e
--- /dev/null
+++ b/src/plugin/lib-xml/plugin.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! XML library - Gathers many XML related libraries:
+ !
+ ! * Jaxen
+ ! - Download : http://jaxen.org/releases.html
+ ! - License : http://jaxen.org/license.html
+ !
+ ! * Xerces-J 2.6.1
+ ! - Download : http://xerces.apache.org/xerces2-j/download.cgi
+ ! - License : http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! * SAXPath 1.0 FCS
+ ! - Note : SAXPath has been incorporated into Jaxen.
+ ! It has been merged into the Jaxen codebase
+ ! and is no longer being maintained separately
+ ! - Download : http://sourceforge.net/project/showfiles.php?group_id=26014
+ ! - License : OSI-Approved Open Source
+ !
+ ! * jdom 1.0 beta8-dev
+ ! - Download : http://www.jdom.org/downloads/index.html
+ ! - License : http://www.jdom.org/docs/faq.html#a0030
+ !
+ !-->
+<plugin
+ id="lib-xml"
+ name="XML Libraries"
+ version="1.0"
+ provider-name="org.apache.nutch.xml">
+
+ <runtime>
+ <library name="jaxen-core.jar">
+ <export name="*"/>
+ </library>
+ <library name="jaxen-jdom.jar">
+ <export name="*"/>
+ </library>
+ <library name="xercesImpl.jar">
+ <export name="*"/>
+ </library>
+ <library name="saxpath.jar">
+ <export name="*"/>
+ </library>
+ <library name="jdom.jar">
+ <export name="*"/>
+ </library>
+ </runtime>
+
+</plugin>