Apache Nutch is an extensible and scalable web crawler
How to upgrade Selenium
Upgrade various driver versions dependency in
src/plugin/lib-selenium/ivy.xmlUpgrade Selenium's own dependencies in
src/plugin/lib-selenium/plugin.xmlTo get a list of dependencies and their versions execute:
ant -f ./build-ivy.xml ls lib | sed 's/^/ <library name="/g' | sed 's/$/">\n <export name="*"\/>\n <\/library>/g'Note that all dependent libraries are exported for a "library" plugin
lib-selenium.N.B. The above Regex + Sed commands may not work if you are using MacOSX's Sed. In this instance you can install GNU Sed as follows
$ brew install gnu-sed --with-default-namesYou can then restart your terminal and the Regex + Sed command should work just fine!
In the
src/plugin/lib-selenium/plugin.xmlreplace all lines between<!-- Begin dependencies -->and<!-- End of dependencies -->with the output of the command above.Remove the locally "installed" dependencies in
src/plugin/lib-selenium/lib/:$ rm -rf lib/Build Nutch and run all unit tests:
cd ../../../ ant clean runtime test