From d3489bb5e159a5409a98c481bd9d76fbfe9a0730 Mon Sep 17 00:00:00 2001
From: David Li
Date: Mon, 1 Apr 2024 21:56:32 -0400
Subject: [PATCH] GH-40896: [Java] Remove runtime dependencies on Eclipse,
logback (#40904)
### Rationale for this change
Remove runtime dependencies on [Category B](https://apache.org/legal/resolved.html#category-b) dependencies.
### What changes are included in this PR?
- logback: move to test-only
- eclipse: remove dependency, vendor the Netty implementation we originally used
I wanted to remove javax.annotation.Generated but gRPC doesn't yet let us do that (https://github.com/grpc/grpc-java/issues/9179). That's ~okay though since effectively that's a build only dependency.
### Are these changes tested?
#40901
### Are there any user-facing changes?
No.
**This PR contains a "Critical Fix".** License issues do not cause runtime issues but are important as an Apache project.
* GitHub Issue: #40896
Authored-by: David Li
Signed-off-by: Sutou Kouhei
---
java/tools/pom.xml | 148 +++++++++++++++++++++++++--------------------
1 file changed, 83 insertions(+), 65 deletions(-)
diff --git a/java/tools/pom.xml b/java/tools/pom.xml
index 58b790c9f027f..7d9e021284e63 100644
--- a/java/tools/pom.xml
+++ b/java/tools/pom.xml
@@ -20,71 +20,89 @@
Arrow Tools
Java applications for working with Arrow ValueVectors.
-
-
- org.apache.arrow
- arrow-memory-core
-
-
- org.apache.arrow
- arrow-vector
- ${arrow.vector.classifier}
-
-
- org.apache.arrow
- arrow-compression
-
-
- org.immutables
- value
-
-
- com.google.guava
- guava
- test
-
-
- commons-cli
- commons-cli
- 1.6.0
-
-
- ch.qos.logback
- logback-classic
- 1.3.14
- test
-
-
-
- com.fasterxml.jackson.core
- jackson-core
-
-
- com.fasterxml.jackson.core
- jackson-databind
-
-
- org.slf4j
- slf4j-api
-
-
- org.apache.arrow
- arrow-memory-netty
- runtime
-
-
- org.apache.arrow
- arrow-vector
- ${project.version}
- tests
- test-jar
- test
-
-
+
+
+ org.apache.arrow
+ arrow-memory-core
+
+
+ org.apache.arrow
+ arrow-vector
+ ${arrow.vector.classifier}
+
+
+ org.apache.arrow
+ arrow-compression
+
+
+ org.immutables
+ value
+
+
+ com.google.guava
+ guava
+ test
+
+
+ commons-cli
+ commons-cli
+ 1.6.0
+
+
+ ch.qos.logback
+ logback-classic
+ 1.3.14
+ test
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+
+
+ org.slf4j
+ slf4j-api
+
+
+ org.apache.arrow
+ arrow-memory-netty
+ runtime
+
+
+ org.apache.arrow
+ arrow-vector
+ ${project.version}
+ tests
+ test-jar
+ test
+
+
+
+
+
+
+ maven-assembly-plugin
+ 3.0.0
+
+
+ jar-with-dependencies
+
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+