Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2133083
PECOBLR-1121 Convert to multi module project.
tejassp-db Dec 26, 2025
b5829f4
PECOBLR-1121 Tests for dependency shading.
tejassp-db Dec 29, 2025
ecd629a
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Dec 30, 2025
4af94cb
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Dec 31, 2025
06ef168
PECOBLR-1121 Rename uber artifact to databricks-jdbc
tejassp-db Jan 2, 2026
df79f87
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 2, 2026
b7390ad
PECOBLR-1121 Clean up pom before publishing.
tejassp-db Jan 2, 2026
991ff21
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 5, 2026
269c517
PECOBLR-1121 Fix dependency of tests.
tejassp-db Jan 5, 2026
e2bec9e
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 5, 2026
ef3cf30
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 13, 2026
08b97b2
PECOBLR-1121 Update query to not return data.
tejassp-db Jan 16, 2026
5aa81d5
PECOBLR-1121 Update credentails env names.
tejassp-db Jan 16, 2026
0f0a74e
PECOBLR-1121 Move profile from parent -> jdbc-core.
tejassp-db Jan 16, 2026
6c99771
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 19, 2026
5b5a038
PECOBLR-1121 Move spotless plugin to project root.
tejassp-db Jan 19, 2026
2289bb8
PECOBLR-1121 Increase test heap size.
tejassp-db Jan 19, 2026
44925ff
PECOBLR-1121 Reformat code.
tejassp-db Jan 19, 2026
5d625d3
PECOBLR-1121 Move properties and plugin to parent pom.
tejassp-db Jan 21, 2026
17dbf49
PECOBLR-1121 Fix pom for release.
tejassp-db Jan 22, 2026
3503d72
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 23, 2026
27ca627
PECOBLR-1121 Fix pom comments.
tejassp-db Jan 23, 2026
4f12bed
PECOBLR-1121 Move copy of java doc to release profile.
tejassp-db Jan 23, 2026
17bf6ba
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Jan 30, 2026
0887df1
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Feb 4, 2026
7a5f8ca
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Feb 4, 2026
7318e61
Merge branch 'PECOBLR-1121/arrow-patch/stack-4' into PECOBLR-1121/arr…
tejassp-db Mar 2, 2026
cb7ce9c
PECOBLR-1121 Bump up version.
tejassp-db Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 261 additions & 0 deletions assembly-thin/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc-parent</artifactId>
<version>3.2.2-SNAPSHOT</version>
</parent>

<artifactId>databricks-jdbc-thin</artifactId>
<packaging>jar</packaging>
<name>Databricks JDBC thin jar</name>
<description>
Databricks JDBC thin jar.
</description>
<url>https://github.com/databricks/databricks-jdbc</url>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>
https://github.com/databricks/databricks-jdbc/blob/main/LICENSE
</url>
</license>
</licenses>
<developers>
<developer>
<name>Databricks JDBC Team</name>
<email>eng-oss-sql-driver@databricks.com</email>
<organization>Databricks</organization>
<organizationUrl>https://www.databricks.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/databricks/databricks-jdbc.git
</connection>
<developerConnection>
scm:git:https://github.com/databricks/databricks-jdbc.git
</developerConnection>
<url>https://github.com/databricks/databricks-jdbc</url>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/databricks/databricks-jdbc/issues</url>
</issueManagement>

<dependencies>
<dependency>
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc-core</artifactId>
<version>3.2.2-SNAPSHOT</version>
</dependency>
</dependencies>

<properties>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
<pomElements>
<dependencies>expand</dependencies>
<build>remove</build>
</pomElements>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>shade and package jars</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<createDependencyReducedPom>
true
</createDependencyReducedPom>
<promoteTransitiveDependencies>
true
</promoteTransitiveDependencies>
<shadedArtifactAttached>
false
</shadedArtifactAttached>
<useDependencyReducedPomInJar>
true
</useDependencyReducedPomInJar>
<artifactSet>
<includes>
<include>org.apache.arrow:*</include>
<include>
com.databricks:databricks-jdbc-core
</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.apache.arrow</pattern>
<shadedPattern>
com.databricks.internal.apache.arrow
</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/DEPENDENCIES</exclude>
<exclude>META-INF/LICENSE.txt</exclude>
<exclude>META-INF/versions/**</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>
com.databricks.client.jdbc.Driver
</mainClass>
<manifestEntries>
<Implementation-Title>
${project.artifactId}
</Implementation-Title>
<Implementation-Version>
${project.version}
</Implementation-Version>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Enable publishing for this module -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<configuration>
<skipPublishing>false</skipPublishing>
</configuration>
</plugin>
<!-- Skip maven-source-plugin - shade plugin creates sources with relocations -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Skip maven-javadoc-plugin - copy unshaded javadoc from jdbc-core instead -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Copy unshaded javadoc from jdbc-core -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-javadoc</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc-core</artifactId>
<version>${project.version}</version>
<classifier>javadoc</classifier>
<type>jar</type>
<destFileName>${project.artifactId}-${project.version}-javadoc.jar</destFileName>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Attach javadoc JAR -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
1 change: 1 addition & 0 deletions assembly-thin/src/main/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Shading Arrow in the driver.
Loading
Loading