diff --git a/java/adapter/avro/pom.xml b/java/adapter/avro/pom.xml index 2c02e72e9c838..9acd9ba6ffd02 100644 --- a/java/adapter/avro/pom.xml +++ b/java/adapter/avro/pom.xml @@ -57,17 +57,4 @@ under the License. - - - - org.apache.maven.plugins - maven-compiler-plugin - - - -Werror - - - - - diff --git a/java/adapter/jdbc/pom.xml b/java/adapter/jdbc/pom.xml index 5ebb4089cf72f..099798a95cd25 100644 --- a/java/adapter/jdbc/pom.xml +++ b/java/adapter/jdbc/pom.xml @@ -116,15 +116,6 @@ under the License. --add-reads=org.apache.arrow.adapter.jdbc=com.fasterxml.jackson.dataformat.yaml --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED -Duser.timezone=UTC - - org.apache.maven.plugins - maven-compiler-plugin - - - -Werror - - - diff --git a/java/adapter/orc/pom.xml b/java/adapter/orc/pom.xml index cf35397c9917b..d9cd2bb21a526 100644 --- a/java/adapter/orc/pom.xml +++ b/java/adapter/orc/pom.xml @@ -160,15 +160,6 @@ under the License. - - org.apache.maven.plugins - maven-compiler-plugin - - - -Werror - - - diff --git a/java/pom.xml b/java/pom.xml index 808b0ad4d8cc7..4633380bfb044 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -934,6 +934,7 @@ under the License. -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED + -Werror