[ https://issues.apache.org/jira/browse/NUTCH-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901528#comment-14901528 ]
Hudson commented on NUTCH-2106: ------------------------------- SUCCESS: Integrated in Nutch-trunk #3275 (See [https://builds.apache.org/job/Nutch-trunk/3275/]) NUTCH-2106 Runtime to contain Selenium and dependencies only once (snagel: http://svn.apache.org/viewvc/nutch/trunk/?view=rev&rev=1704425) * /nutch/trunk/CHANGES.txt * /nutch/trunk/src/plugin/lib-selenium/build-ivy.xml * /nutch/trunk/src/plugin/lib-selenium/howto_upgrade_selenium.txt * /nutch/trunk/src/plugin/lib-selenium/ivy.xml * /nutch/trunk/src/plugin/lib-selenium/plugin.xml * /nutch/trunk/src/plugin/protocol-interactiveselenium/build-ivy.xml * /nutch/trunk/src/plugin/protocol-interactiveselenium/ivy.xml * /nutch/trunk/src/plugin/protocol-interactiveselenium/plugin.xml * /nutch/trunk/src/plugin/protocol-selenium/build-ivy.xml * /nutch/trunk/src/plugin/protocol-selenium/ivy.xml * /nutch/trunk/src/plugin/protocol-selenium/plugin.xml > Runtime to contain Selenium and dependencies only once > ------------------------------------------------------ > > Key: NUTCH-2106 > URL: https://issues.apache.org/jira/browse/NUTCH-2106 > Project: Nutch > Issue Type: Bug > Components: build > Affects Versions: 1.11 > Reporter: Sebastian Nagel > Assignee: Sebastian Nagel > Fix For: 1.11 > > Attachments: NUTCH-2106.patch > > > All Selenium-based plugins contain the same dependendent jars which > significantly affects the size of runtime and bin package: > {noformat} > % du -hs runtime/local/plugins/*selenium/ runtime/deploy/*.job > 25M runtime/local/plugins/lib-selenium/ > 25M runtime/local/plugins/protocol-interactiveselenium/ > 25M runtime/local/plugins/protocol-selenium/ > 182M runtime/deploy/apache-nutch-1.11-SNAPSHOT.job > {noformat} > Since all plugins depend on the same Selenium version we could bundle the > dependencies in lib-selenium and let the other plugins load it from there: > - let lib-selenium export all dependent libs, e.g.: > {code:xml|title=lib-selenium/plugin.xml} > <runtime> > ... > <library name="selenium-java-2.44.0.jar"> > <export name="*"/> > </library> > {code} > - both protocol plugins already import lib-selenium: the dependencies in > ivy.xml can be removed > As expected, these changes make the runtime smaller: > {noformat} > 25M runtime/local/plugins/lib-selenium/ > 20K runtime/local/plugins/protocol-interactiveselenium/ > 16K runtime/local/plugins/protocol-selenium/ > 138M runtime/deploy/apache-nutch-1.11-SNAPSHOT.job > {noformat} > Open points: > - I've tested only protocol-selenium using chromedriver. Should also test > protocol-interactiveselenium? > - What about phantomjsdriver-1.2.1.jar? It was contained in lib-selenium and > protocol-selenium but not protocol-interactiveselenium. Is there a reason for > this? -- This message was sent by Atlassian JIRA (v6.3.4#6332)