Skip to content

Downloading Driver Dependencies

Terry edited this page Feb 28, 2023 · 6 revisions

Prerequisites

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

Download Driver Dependencies

  1. Clone mssql-jdbc repo
git clone https://github.com/microsoft/mssql-jdbc.git
  1. Goto the project root
cd /path/to/where/you/cloned/the/driver/project/mssql-jdbc
  1. 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
  1. 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
Clone this wiki locally