From 69c9d5ae6618e2fe64edf18ad9e6238329c6a966 Mon Sep 17 00:00:00 2001 From: Laurent Goujon Date: Tue, 2 Apr 2024 17:37:21 -0700 Subject: [PATCH] GH-40952: [Java][FlightSQL] Clean up flight-sql-jdbc-driver dependencies (#40953) ### Rationale for this change Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged). ### What changes are included in this PR? Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core. ### Are these changes tested? Yes: build + existing shading test ### Are there any user-facing changes? No * GitHub Issue: #40952 Authored-by: Laurent Goujon Signed-off-by: David Li --- java/flight/flight-sql-jdbc-driver/pom.xml | 111 +-------------------- 1 file changed, 1 insertion(+), 110 deletions(-) diff --git a/java/flight/flight-sql-jdbc-driver/pom.xml b/java/flight/flight-sql-jdbc-driver/pom.xml index 2157c09eaf583..b586a0e46f51f 100644 --- a/java/flight/flight-sql-jdbc-driver/pom.xml +++ b/java/flight/flight-sql-jdbc-driver/pom.xml @@ -28,126 +28,24 @@ https://arrow.apache.org - - - org.hamcrest - hamcrest - 2.2 - test - - org.apache.arrow flight-sql-jdbc-core runtime - - org.bouncycastle - bcpkix-jdk15on - 1.70 - runtime - - - - - org.apache.arrow - arrow-memory-core - runtime - - - - org.apache.arrow - flight-sql - runtime - - - - org.mockito - mockito-core - ${mockito.core.version} - test - - - - org.mockito - mockito-inline - ${mockito.inline.version} - test - - - - org.apache.arrow - flight-core - - - io.netty - netty-transport-native-kqueue - - - io.netty - netty-transport-native-epoll - - - runtime - - - - org.slf4j - slf4j-api - runtime - org.slf4j slf4j-jdk14 runtime - - io.netty - netty-common - runtime - - - - joda-time - joda-time - 2.12.6 - runtime - - - - org.apache.calcite.avatica - avatica - 1.24.0 - runtime - - - - com.google.protobuf - protobuf-java - runtime - - - - org.apache.arrow - arrow-vector - ${arrow.vector.classifier} - runtime - - com.google.guava guava + runtime - - - commons-io - commons-io - 2.15.1 - test - @@ -250,13 +148,6 @@ META-INF/services/java.sql.Driver - - org.eclipse.collections:* - - about.html - LICENSE-*-1.0.txt - - *:*