Comments - Dependencies required to build Java connector

6 years, 1 month ago Diego Dupin

All dependencies are optional at runtime, but to build, dependencies like jna, slf4j, waffle are needed ...

Jar can be downloaded (https://downloads.mariadb.com/Connectors/java/) , but there is no way to build without having those dependencies.

 
6 years, 1 month ago kiran

Thank you for the quick response Diego.

So all the slf4j versions including the ones that only have pom file but no corresponding jar files are needed as well? Is it possible to build without aws support?

 
6 years, 1 month ago Diego Dupin

There is code that use jna, slf4j, waffle dependencies, but this code will be used only if those dependencies are available at runtime, that's why they are needed to build jar.

AWS is only used for test, so technically those can be removed from pom.xml, if test directory is deleted, but that's not a good solution.

The only solution if not connected to build jar is to have a local maven repository containing all those dependencies.

 
6 years, 1 month ago kiran

Thank you Diego

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.