Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Jar with Dependencies - Does this library need all those "dependencies" ? #62

Closed
homerlex opened this issue Jan 17, 2019 · 4 comments
Closed

Comments

@homerlex
Copy link

homerlex commented Jan 17, 2019

The jar with dependencies is pretty sizable. Does the Selenium library actually need everything that is in there?

@Hi-Fi
Copy link
Collaborator

Hi-Fi commented Jan 17, 2019

Currently that's directly from Maven. There's 12 direct dependencies in the library, so most of the things (including Robot framework and Jython) are coming as transient dependencies including the size quite much.

I think biggest thing is Appium (as it brings OpenCV which is 65 Mb compressed.

There's probably some improvements that can be made to make things smaller.

@ractoc
Copy link
Contributor

ractoc commented Jul 12, 2019

it might be worth investigating of they are all really needed, and then use an to make sure the ones that are not needed are not included

@Hi-Fi
Copy link
Collaborator

Hi-Fi commented Jul 12, 2019

I'll remove those in 4.x version, and make some better approach if someone is using those (mainly Appium).

Hi-Fi added a commit that referenced this issue Jul 24, 2019
Hi-Fi added a commit that referenced this issue Jul 25, 2019
Hi-Fi added a commit that referenced this issue Jul 25, 2019
… not included in fat-jar

Instructions how to take ios/android testing to use with Maven

Fixes #62
Hi-Fi added a commit that referenced this issue Jul 25, 2019
… not included in fat-jar

Instructions how to take ios/android testing to use with Maven

Fixes #62

Changed to use OpenJDK as Travis doesn't install Oracle anymore to image
Hi-Fi added a commit that referenced this issue Jul 25, 2019
… not included in fat-jar

Instructions how to take ios/android testing to use with Maven

Fixes #62

Forcing to use Trusty image
Hi-Fi added a commit that referenced this issue Sep 19, 2021
… not included in fat-jar

Instructions how to take ios/android testing to use with Maven

Fixes #62

Forcing to use Trusty image
@Hi-Fi
Copy link
Collaborator

Hi-Fi commented Sep 19, 2021

Current pre-releases of Selenium4 using libraries have those dependecies as "provided". so those are not in fat jar.

@Hi-Fi Hi-Fi closed this as completed Sep 19, 2021
Hi-Fi added a commit that referenced this issue Oct 13, 2021
… not included in fat-jar

Instructions how to take ios/android testing to use with Maven

Fixes #62

Forcing to use Trusty image
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants