Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
Description
Hello,
we noticed an increase of our application of about 5MB when upgrading from 3.09 to 3.1.0
while the MariaDB driver (groupId : org.mariadb.jdbc, artifactId : mariadb-java-client) grows only from ~ 590K to 630K, we noticed, that it had a lot of new dependencies:
[INFO] +- org.mariadb.jdbc:mariadb-java-client:jar:3.1.0:compile (~630K)
|
[INFO] | \- com.github.waffle:waffle-jna:jar:3.2.0:compile (~70K)
|
[INFO] | +- net.java.dev.jna:jna:jar:5.10.0:compile (~1,7MB)
|
[INFO] | +- net.java.dev.jna:jna-platform:jar:5.10.0:compile (~1,3M)
|
[INFO] | \- com.github.ben-manes.caffeine:caffeine:jar:2.9.3:compile (~910K)
|
[INFO] | \- com.google.errorprone:error_prone_annotations:jar:2.10.0:compile (~15K)
|
It seems that the windows authentication framework (https://github.com/Waffle/waffle) will require these dependencies. As we (and many others) will use the driver in a linux environment, these dependencies are useless there. I assume also, that there are many people that would not use this feature in windows environment.
So, I would suggest to add these dependencies as optional dependencies or add a short hint in README, if and how they can be excluded in pom.xml.
Attachments
Issue Links
- relates to
-
CONJ-1021 GSSAPI using waffle issue resulting in Connection reset
- Closed