This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 40debb2149 GH-36920: [Java][Docs] Add ARROW_JSON var to maven build
profile (#36921)
40debb2149 is described below
commit 40debb2149dbecf7e4bd94c3c77c6d5451b76b03
Author: Dane Pitkin <[email protected]>
AuthorDate: Thu Jul 27 21:28:02 2023 -0400
GH-36920: [Java][Docs] Add ARROW_JSON var to maven build profile (#36921)
### Rationale for this change
JSON support in the datasets module was recently introduced. Update the
maven build profile and build documentation to reflect this. Similar to
https://github.com/apache/arrow/pull/36899
### What changes are included in this PR?
* update maven build profile
* update build docs
### Are these changes tested?
Yes, tested locally on M1 Mac.
### Are there any user-facing changes?
No
* Closes: #36920
Authored-by: Dane Pitkin <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
docs/source/developers/java/building.rst | 2 ++
java/pom.xml | 2 ++
2 files changed, 4 insertions(+)
diff --git a/docs/source/developers/java/building.rst
b/docs/source/developers/java/building.rst
index 9d773f0514..5dd3a979d8 100644
--- a/docs/source/developers/java/building.rst
+++ b/docs/source/developers/java/building.rst
@@ -216,6 +216,7 @@ CMake
-DARROW_FILESYSTEM=ON \
-DARROW_GANDIVA=ON \
-DARROW_GANDIVA_STATIC_LIBSTDCPP=ON \
+ -DARROW_JSON=ON \
-DARROW_ORC=ON \
-DARROW_PARQUET=ON \
-DARROW_S3=ON \
@@ -256,6 +257,7 @@ CMake
-DARROW_DATASET=ON ^
-DARROW_DEPENDENCY_USE_SHARED=OFF ^
-DARROW_FILESYSTEM=ON ^
+ -DARROW_JSON=ON ^
-DARROW_ORC=OFF ^
-DARROW_PARQUET=ON ^
-DARROW_S3=ON ^
diff --git a/java/pom.xml b/java/pom.xml
index e997406f02..7f8de003a3 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -1019,6 +1019,7 @@
-DARROW_FILESYSTEM=ON
-DARROW_GANDIVA=${ARROW_GANDIVA}
-DARROW_GANDIVA_STATIC_LIBSTDCPP=ON
+ -DARROW_JSON=${ARROW_DATASET}
-DARROW_ORC=${ARROW_ORC}
-DARROW_PARQUET=${ARROW_PARQUET}
-DARROW_S3=ON
@@ -1129,6 +1130,7 @@
-DARROW_DATASET=ON
-DARROW_DEPENDENCY_USE_SHARED=OFF
-DARROW_FILESYSTEM=ON
+ -DARROW_JSON=${ARROW_DATASET}
-DARROW_ORC=${ARROW_ORC}
-DARROW_PARQUET=${ARROW_PARQUET}
-DARROW_S3=ON