Skip to content

Commit

Permalink
NUTCH-2861 Remove parse-swf
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-nagel committed Aug 9, 2022
1 parent 8fc4f17 commit dfe430b
Show file tree
Hide file tree
Showing 21 changed files with 6 additions and 1,098 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
@@ -1,5 +1,11 @@
# Nutch Change Log

Breaking Changes

- the plugin parse-swf for parsing Shockwave/Adobe Flash conent was removed (NUTCH-2861)



Nutch 1.18 Release 14/01/2021 (dd/mm/yyyy)
Release Report: https://s.apache.org/lqara

Expand Down
35 changes: 0 additions & 35 deletions LICENSE.txt
Expand Up @@ -4831,41 +4831,6 @@ src/plugin/ontology/lib/jena-2.1.jar
This product includes software developed by the
Apache Software Foundation (http://www.apache.org/).

src/plugin/parse-swf/lib/javaswf.jar


Copyright (c) 2001-2005, David N. Main, All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, 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 name of the author may not be used to endorse or
promote products derived from this software without specific
prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
EXPRESS 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
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.

src/plugin/response-json/lib/json-lib-2.2.2-jdk15.jar

Apache License
Expand Down
3 changes: 0 additions & 3 deletions NOTICE.txt
Expand Up @@ -6,8 +6,5 @@ Foundation (http://www.apache.org/).

This product includes software developed by the following copyright owners:

Nutch includes JavaSWF:
Copyright (c) 2001-2005, David N. Main, All rights reserved.

Nutch includes Automaton:
This package is Copyright © 2001-2008 Anders Møller. All rights reserved.
4 changes: 0 additions & 4 deletions build.xml
Expand Up @@ -226,7 +226,6 @@
<packageset dir="${plugins.dir}/parse-html/src/java"/>
<packageset dir="${plugins.dir}/parse-js/src/java"/>
<packageset dir="${plugins.dir}/parse-metatags/src/java"/>
<packageset dir="${plugins.dir}/parse-swf/src/java"/>
<packageset dir="${plugins.dir}/parse-tika/src/java"/>
<packageset dir="${plugins.dir}/parse-zip/src/java"/>
<packageset dir="${plugins.dir}/parsefilter-debug/src/java"/>
Expand Down Expand Up @@ -760,7 +759,6 @@
<packageset dir="${plugins.dir}/parse-html/src/java"/>
<packageset dir="${plugins.dir}/parse-js/src/java"/>
<packageset dir="${plugins.dir}/parse-metatags/src/java"/>
<packageset dir="${plugins.dir}/parse-swf/src/java"/>
<packageset dir="${plugins.dir}/parse-tika/src/java"/>
<packageset dir="${plugins.dir}/parse-zip/src/java"/>
<packageset dir="${plugins.dir}/parsefilter-debug/src/java"/>
Expand Down Expand Up @@ -1261,8 +1259,6 @@
<source path="${plugins.dir}/parse-js/src/test/" />
<source path="${plugins.dir}/parse-metatags/src/java/" />
<source path="${plugins.dir}/parse-metatags/src/test/" />
<source path="${plugins.dir}/parse-swf/src/java/" />
<source path="${plugins.dir}/parse-swf/src/test/" />
<source path="${plugins.dir}/parse-tika/src/java/" />
<source path="${plugins.dir}/parse-tika/src/test/" />
<source path="${plugins.dir}/parse-zip/src/java/" />
Expand Down
6 changes: 0 additions & 6 deletions conf/parse-plugins.xml.template
Expand Up @@ -51,10 +51,6 @@
<plugin id="parse-js" />
</mimeType>

<mimeType name="application/x-shockwave-flash">
<plugin id="parse-swf" />
</mimeType>

<mimeType name="application/zip">
<plugin id="parse-zip" />
</mimeType>
Expand Down Expand Up @@ -93,8 +89,6 @@
<alias name="parse-js" extension-id="JSParser" />
<alias name="feed"
extension-id="org.apache.nutch.parse.feed.FeedParser" />
<alias name="parse-swf"
extension-id="org.apache.nutch.parse.swf.SWFParser" />
<alias name="parse-zip"
extension-id="org.apache.nutch.parse.zip.ZipParser" />
</aliases>
Expand Down
1 change: 0 additions & 1 deletion default.properties
Expand Up @@ -146,7 +146,6 @@ plugins.parse=\
org.apache.nutch.parse.html*:\
org.apache.nutch.parse.js:\
org.apache.nutch.parse.replace*:\
org.apache.nutch.parse.swf*:\
org.apache.nutch.parse.tika:\
org.apache.nutch.parse.zip

Expand Down
3 changes: 0 additions & 3 deletions src/plugin/build.xml
Expand Up @@ -64,7 +64,6 @@
<ant dir="parse-html" target="deploy"/>
<ant dir="parse-js" target="deploy"/>
<ant dir="parse-metatags" target="deploy"/>
<ant dir="parse-swf" target="deploy"/>
<ant dir="parse-tika" target="deploy"/>
<ant dir="parse-zip" target="deploy"/>
<ant dir="parsefilter-debug" target="deploy"/>
Expand Down Expand Up @@ -135,7 +134,6 @@
<ant dir="parse-html" target="test"/>
<ant dir="parse-js" target="test"/>
<ant dir="parse-metatags" target="test"/>
<ant dir="parse-swf" target="test"/>
<ant dir="parse-tika" target="test"/>
<ant dir="parse-zip" target="test"/>
<ant dir="parsefilter-regex" target="test"/>
Expand Down Expand Up @@ -213,7 +211,6 @@
<ant dir="parse-html" target="clean"/>
<ant dir="parse-js" target="clean"/>
<ant dir="parse-metatags" target="clean"/>
<ant dir="parse-swf" target="clean"/>
<ant dir="parse-tika" target="clean"/>
<ant dir="parse-zip" target="clean"/>
<ant dir="parsefilter-debug" target="clean" />
Expand Down
38 changes: 0 additions & 38 deletions src/plugin/parse-swf/build.xml

This file was deleted.

41 changes: 0 additions & 41 deletions src/plugin/parse-swf/ivy.xml

This file was deleted.

33 changes: 0 additions & 33 deletions src/plugin/parse-swf/lib/javaswf-LICENSE.txt

This file was deleted.

Binary file removed src/plugin/parse-swf/lib/javaswf.jar
Binary file not shown.
44 changes: 0 additions & 44 deletions src/plugin/parse-swf/plugin.xml

This file was deleted.

Binary file removed src/plugin/parse-swf/sample/test1.swf
Binary file not shown.
60 changes: 0 additions & 60 deletions src/plugin/parse-swf/sample/test1.txt

This file was deleted.

Binary file removed src/plugin/parse-swf/sample/test2.swf
Binary file not shown.
5 changes: 0 additions & 5 deletions src/plugin/parse-swf/sample/test2.txt

This file was deleted.

Binary file removed src/plugin/parse-swf/sample/test3.swf
Binary file not shown.
11 changes: 0 additions & 11 deletions src/plugin/parse-swf/sample/test3.txt

This file was deleted.

0 comments on commit dfe430b

Please sign in to comment.