This Maven project wraps the Microsoft SQL Server JDBC drivers as OSGi bundles.
The build depends on the official JDBC driver JAR files provided by Microsoft.
For example to build the bundles for SQL Server 2012R, follow the steps below.
-
Download the JDBC drivers for Microsoft SQL Server.
-
Extract the package contents.
-
Edit the POM to reflect the Microsoft SQL Server JDBC driver version.
-
Install the driver to the local Maven repository
mvn install:install-file -Dfile=sqljdbc.jar -DgroupId=com.microsoft -DartifactId=sqljdbc3 -Dversion=4.0.2206.100 -Dpackaging=jar mvn install:install-file -Dfile=sqljdbc4.jar -DgroupId=com.microsoft -DartifactId=sqljdbc4 -Dversion=4.0.2206.100 -Dpackaging=jar
-
Build and install the OSGi wrapped driver bundle
mvn install
This Maven build script is licensed under the terms contained in the file named "LICENSE.txt" in this directory.