-
Notifications
You must be signed in to change notification settings - Fork 421
Downloading Driver Dependencies
lilgreenbird edited this page May 31, 2023
·
5 revisions
To get all driver dependencies, git
, maven and an appropriate JDK version must all be installed on your machine.
- 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
-
The pom.xml file contains all dependencies of the driver in the
<dependencies>...</dependencies>
block. Use maven to download all the dependencies totarget/dependency
folder.Please make sure to use the pom.xml associated with the version of the driver as you need the correct version of the dependent libraries for the release you are using to ensure correct functionality of the driver.
<maven_installation_path>/bin/mvn dependency:copy-dependencies
- Once the dependent libraries are downloaded, add them to the CLASSPATH of your user application.