diff --git a/docs/source/developers/java/building.rst b/docs/source/developers/java/building.rst index 9f4712cea64b5..f63f99cee8376 100644 --- a/docs/source/developers/java/building.rst +++ b/docs/source/developers/java/building.rst @@ -341,9 +341,6 @@ Arrow repository, and update the following settings: Settings > Build, Execution, Deployment > Compiler > Java Compiler and disable "Use '--release' option for cross-compilation (Java 9 and later)". Otherwise you will get an error like "package sun.misc does not exist". -* You may want to disable error-prone entirely if it gives spurious - warnings (disable both error-prone profiles in the Maven tool window - and "Reload All Maven Projects"). * If using IntelliJ's Maven integration to build, you may need to change ```` to ``false`` in the pom.xml files due to an `IntelliJ bug `__. diff --git a/java/flight/flight-core/pom.xml b/java/flight/flight-core/pom.xml index b35e9a0a93db3..eb5ad094a91a7 100644 --- a/java/flight/flight-core/pom.xml +++ b/java/flight/flight-core/pom.xml @@ -98,11 +98,6 @@ io.grpc grpc-api - - io.grpc - grpc-services - test - com.fasterxml.jackson.core diff --git a/java/flight/flight-sql/pom.xml b/java/flight/flight-sql/pom.xml index d8371e4355564..298b1652e6c70 100644 --- a/java/flight/flight-sql/pom.xml +++ b/java/flight/flight-sql/pom.xml @@ -57,14 +57,26 @@ arrow-jdbc ${project.version} + + io.grpc + grpc-protobuf + com.google.guava guava + + io.grpc + grpc-stub + com.google.protobuf protobuf-java + + io.grpc + grpc-api + org.apache.arrow arrow-vector diff --git a/java/pom.xml b/java/pom.xml index 5087066a290d1..b32b403eec5dd 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -543,6 +543,11 @@ flatbuffers-java ${dep.fbs.version} + + com.google.guava + guava + ${dep.guava.version} + com.google.code.findbugs jsr305 @@ -582,13 +587,6 @@ pom import - - com.google.guava - guava-bom - ${dep.guava-bom.version} - pom - import - io.netty netty-bom