From 2f3c501fdc9e6f1eb2ca95b13ecdbf8b9defbead Mon Sep 17 00:00:00 2001
From: David Li
Date: Tue, 26 Mar 2024 08:18:13 -0400
Subject: [PATCH] chore: revert apache parent version
---
.env | 2 +-
ci/scripts/java_build.sh | 2 +-
dev/release/verify-release-candidate.sh | 2 +-
java/pom.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.env b/.env
index 3f56243c1d..0b5e04d6e0 100644
--- a/.env
+++ b/.env
@@ -30,7 +30,7 @@ ARCH_CONDA_FORGE=linux_64_
# Default versions for various dependencies
JDK=8
MANYLINUX=2014
-MAVEN=3.5.4
+MAVEN=3.6.3
PYTHON=3.8
GO=1.19.5
ARROW_MAJOR_VERSION=14
diff --git a/ci/scripts/java_build.sh b/ci/scripts/java_build.sh
index a334c59fd6..463fb4210e 100755
--- a/ci/scripts/java_build.sh
+++ b/ci/scripts/java_build.sh
@@ -34,7 +34,7 @@ main() {
echo "=== Build ==="
pushd ${source_dir}/java
- mvn clean \
+ mvn -B clean \
install \
assembly:single \
source:jar \
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index f2d0be238b..45382a5605 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -445,7 +445,7 @@ test_cpp() {
test_java() {
show_header "Build and test Java libraries"
- # Build and test Java (Requires newer Maven -- I used 3.3.9)
+ # Build and test Java (Requires Maven >= 3.6.3)
maybe_setup_conda maven || exit 1
"${ADBC_DIR}/ci/scripts/java_build.sh" "${ADBC_SOURCE_DIR}" "${ARROW_TMPDIR}/java"
diff --git a/java/pom.xml b/java/pom.xml
index ff9ee941a6..291ff87fc8 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -15,7 +15,7 @@
org.apache
apache
- 31
+ 18
org.apache.arrow.adbc