File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -24,39 +24,16 @@ Add the following dependency to your `pom.xml`:
2424</dependency >
2525```
2626
27- #### Thin JAR
28-
29- For applications requiring explicit dependency management, use the thin JAR variant:
30-
31- ``` xml
32- <!-- Note: Available from version 1.0.11-oss onwards -->
33- <dependency >
34- <groupId >com.databricks</groupId >
35- <artifactId >databricks-jdbc-thin</artifactId >
36- <version >1.0.11-oss</version >
37- </dependency >
38- ```
39-
40- The thin JAR contains only the driver code and declares all dependencies in its POM, enabling dependency introspection and version management.
41-
4227### Build from Source
4328
44291 . Clone the repository
45302 . Run the following command:
4631 ``` bash
4732 mvn clean package
4833 ```
49- 3 . The following JAR files are generated:
50- - ` target/databricks-jdbc-<version>.jar ` (standard JAR with bundled dependencies)
51- - ` target/databricks-jdbc-<version>-thin.jar ` (thin JAR without dependencies)
34+ 3 . The jar file is generated as ` target/databricks-jdbc-<version>.jar `
52354 . The test coverage report is generated in ` target/site/jacoco/index.html `
5336
54- To install the thin JAR locally with dependency metadata:
55- ``` bash
56- VERSION=$( grep -m1 ' <version>' pom.xml | sed ' s/.*<version>\(.*\)<\/version>.*/\1/' )
57- mvn install:install-file -Dfile=" target/databricks-jdbc-${VERSION} -thin.jar" -DpomFile=thin_public_pom.xml
58- ```
59-
6037## Usage
6138
6239### Connection String
You can’t perform that action at this time.
0 commit comments