This is an automated email from the ASF dual-hosted git repository.
snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new 74b49e9a6 NUTCH-3086 Consolidate plugin extension names and IDs (#835)
74b49e9a6 is described below
commit 74b49e9a65f858159eb9e00875003b7fe6e0ff1f
Author: Sebastian Nagel <[email protected]>
AuthorDate: Wed Jan 8 13:08:19 2025 +0100
NUTCH-3086 Consolidate plugin extension names and IDs (#835)
---
src/plugin/parsefilter-debug/plugin.xml | 4 ++--
src/plugin/parsefilter-naivebayes/plugin.xml | 2 +-
src/plugin/parsefilter-regex/plugin.xml | 2 +-
src/plugin/protocol-htmlunit/plugin.xml | 4 ++--
src/plugin/protocol-httpclient/plugin.xml | 8 +-------
src/plugin/protocol-interactiveselenium/plugin.xml | 2 +-
src/plugin/protocol-selenium/plugin.xml | 2 +-
7 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/src/plugin/parsefilter-debug/plugin.xml
b/src/plugin/parsefilter-debug/plugin.xml
index bc4a57429..027d8fd6e 100644
--- a/src/plugin/parsefilter-debug/plugin.xml
+++ b/src/plugin/parsefilter-debug/plugin.xml
@@ -31,8 +31,8 @@
<import plugin="nutch-extensionpoints"/>
</requires>
- <extension id="org.apache.nutch.htmlparsefilter.regex"
- name="Nutch Parser Filter"
point="org.apache.nutch.parse.HtmlParseFilter">
+ <extension id="org.apache.nutch.htmlparsefilter.debug"
+ name="Nutch Debug Parser Filter"
point="org.apache.nutch.parse.HtmlParseFilter">
<implementation id="DebugParseFilter"
class="org.apache.nutch.parsefilter.debug.DebugParseFilter">
</implementation>
diff --git a/src/plugin/parsefilter-naivebayes/plugin.xml
b/src/plugin/parsefilter-naivebayes/plugin.xml
index c4983e1c9..32d7ce065 100644
--- a/src/plugin/parsefilter-naivebayes/plugin.xml
+++ b/src/plugin/parsefilter-naivebayes/plugin.xml
@@ -32,7 +32,7 @@
</requires>
<extension id="org.apache.nutch.htmlparsefilter.naivebayes"
- name="Nutch Parser Filter"
point="org.apache.nutch.parse.HtmlParseFilter">
+ name="Nutch NaiveBayes Parser Filter"
point="org.apache.nutch.parse.HtmlParseFilter">
<implementation id="NaiveBayesHTMLParseFilter"
class="org.apache.nutch.parsefilter.naivebayes.NaiveBayesParseFilter"/>
</extension>
diff --git a/src/plugin/parsefilter-regex/plugin.xml
b/src/plugin/parsefilter-regex/plugin.xml
index 072549257..0821d2d7c 100644
--- a/src/plugin/parsefilter-regex/plugin.xml
+++ b/src/plugin/parsefilter-regex/plugin.xml
@@ -32,7 +32,7 @@
</requires>
<extension id="org.apache.nutch.htmlparsefilter.regex"
- name="Nutch Parser Filter"
point="org.apache.nutch.parse.HtmlParseFilter">
+ name="Nutch Regex Parser Filter"
point="org.apache.nutch.parse.HtmlParseFilter">
<implementation id="RegexParseFilter"
class="org.apache.nutch.parsefilter.regex.RegexParseFilter">
<parameter name="file" value="regex-parsefilter.txt"/>
diff --git a/src/plugin/protocol-htmlunit/plugin.xml
b/src/plugin/protocol-htmlunit/plugin.xml
index 36bcb8077..e39618fc7 100644
--- a/src/plugin/protocol-htmlunit/plugin.xml
+++ b/src/plugin/protocol-htmlunit/plugin.xml
@@ -33,8 +33,8 @@
<import plugin="lib-htmlunit"/>
</requires>
- <extension id="org.apache.nutch.protocol.http"
- name="HttpProtocol"
+ <extension id="org.apache.nutch.protocol.htmlunit"
+ name="HtmlUnitHttpProtocol"
point="org.apache.nutch.protocol.Protocol">
<implementation id="org.apache.nutch.protocol.htmlunit.Http"
diff --git a/src/plugin/protocol-httpclient/plugin.xml
b/src/plugin/protocol-httpclient/plugin.xml
index 17477137d..453ddca4e 100644
--- a/src/plugin/protocol-httpclient/plugin.xml
+++ b/src/plugin/protocol-httpclient/plugin.xml
@@ -34,7 +34,7 @@
</requires>
<extension id="org.apache.nutch.protocol.httpclient"
- name="HttpProtocol"
+ name="HttpClientProtocol"
point="org.apache.nutch.protocol.Protocol">
<implementation id="org.apache.nutch.protocol.httpclient.Http"
@@ -42,12 +42,6 @@
<parameter name="protocolName" value="http"/>
</implementation>
- </extension>
-
- <extension id="org.apache.nutch.protocol.https"
- name="HttpsProtocol"
- point="org.apache.nutch.protocol.Protocol">
-
<implementation id="org.apache.nutch.protocol.httpclient.Http"
class="org.apache.nutch.protocol.httpclient.Http">
<parameter name="protocolName" value="https"/>
diff --git a/src/plugin/protocol-interactiveselenium/plugin.xml
b/src/plugin/protocol-interactiveselenium/plugin.xml
index 9f3593029..876dd53b1 100644
--- a/src/plugin/protocol-interactiveselenium/plugin.xml
+++ b/src/plugin/protocol-interactiveselenium/plugin.xml
@@ -34,7 +34,7 @@
</requires>
<extension id="org.apache.nutch.protocol.interactiveselenium"
- name="HttpProtocol"
+ name="InteractiveSeleniumHttpProtocol"
point="org.apache.nutch.protocol.Protocol">
<implementation id="org.apache.nutch.protocol.interactiveselenium.Http"
diff --git a/src/plugin/protocol-selenium/plugin.xml
b/src/plugin/protocol-selenium/plugin.xml
index 0f3b974fd..40dd40688 100644
--- a/src/plugin/protocol-selenium/plugin.xml
+++ b/src/plugin/protocol-selenium/plugin.xml
@@ -34,7 +34,7 @@
</requires>
<extension id="org.apache.nutch.protocol.selenium"
- name="HttpProtocol"
+ name="SeleniumHttpProtocol"
point="org.apache.nutch.protocol.Protocol">
<implementation id="org.apache.nutch.protocol.selenium.Http"