-
Notifications
You must be signed in to change notification settings - Fork 428
Downloading Driver Dependencies
Terry edited this page Feb 28, 2023
·
6 revisions
To get all driver dependencies, git
, maven
and an appropriate JDK version must all be installed on your machine.
Maven download is found here: https://maven.apache.org/download.cgi
Maven installation instructions are found here: https://maven.apache.org/install.html
- Clone mssql-jdbc repo
git clone https://github.com/microsoft/mssql-jdbc.git
- Goto the project root
cd /path/to/where/you/cloned/the/driver/project/mssql-jdbc
- Checkout the corresponding branch to the version of the driver used. eg. v11.2.3 is the 11.2.3 version branch of the driver
git checkout v11.2.3
- Use maven to download all the JARs the driver depends on. The command below will download these dependencies to "target" directory of the project eg. It can be found at /path/to/cloned/driver/project/mssql-jdbc/target/dependency
mvn dependency:copy-dependencies