Dear Wiki user, You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The following page has been changed by JakeVanderdray: http://wiki.apache.org/nutch/WritingPlugins ------------------------------------------------------------------------------ * A build.xml file that tells ant how to build your plugin. * The source code of your plugin in the directory structure recommended/java/org/apache/nutch/[Source_Here]. - == The Anatomy of a Plugin.xml File == + == Plugin.xml == Your plugin.xml file should look something like this: @@ -86, +86 @@ </plugin> }}} + == Build.xml == + + In its simplest form: + + {{{ + <?xml version="1.0"?> + + <project name="recommended" default="jar"> + + <import file="../build-plugin.xml"/> + + </project> + }}} + == Getting Nutch to Use Your Plugin == In order to get Nutch to use your plugin, you need to edit your conf/nutch-site.xml file and add in a block like this:
