Upgrade OpenSearch dependency in src/plugin/indexer-opensearch-1x/ivy.xml
Upgrade the OpenSearch specific dependencies in src/plugin/indexer-opensearch-1x/plugin.xml To get the list of dependencies and their versions execute: $ cd src/plugin/indexer-opensearch-1x/ $ ant -f ./build-ivy.xml $ ls lib | sed ‘s/^/ <library name="/g’ | sed ‘s/$/"/>/g’
In the plugin.xml replace all lines between
and
with the output of the command above.
(Optionally) remove overlapping dependencies between indexer-opensearch-1x and Nutch core dependencies:
Remove the locally “installed” dependencies in src/plugin/indexer-opensearch-1x/lib/:
$ rm -rf lib/
Build Nutch and run all unit tests:
$ cd ../../../ $ ant clean runtime test