diff --git a/docs/source/developers/java/building.rst b/docs/source/developers/java/building.rst index f63f99cee8376..9f4712cea64b5 100644 --- a/docs/source/developers/java/building.rst +++ b/docs/source/developers/java/building.rst @@ -341,6 +341,9 @@ 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 eb5ad094a91a7..b35e9a0a93db3 100644 --- a/java/flight/flight-core/pom.xml +++ b/java/flight/flight-core/pom.xml @@ -98,6 +98,11 @@ 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 298b1652e6c70..d8371e4355564 100644 --- a/java/flight/flight-sql/pom.xml +++ b/java/flight/flight-sql/pom.xml @@ -57,26 +57,14 @@ 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 b32b403eec5dd..5087066a290d1 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -543,11 +543,6 @@ flatbuffers-java ${dep.fbs.version} - - com.google.guava - guava - ${dep.guava.version} - com.google.code.findbugs jsr305 @@ -587,6 +582,13 @@ pom import + + com.google.guava + guava-bom + ${dep.guava-bom.version} + pom + import + io.netty netty-bom