This is an automated email from the ASF dual-hosted git repository.
brycemecum pushed a commit to branch stable
in repository https://gitbox.apache.org/repos/asf/arrow-cookbook.git
The following commit(s) were added to refs/heads/stable by this push:
new 6a108ab GH-363: [Java] Run maven in batch mode (#373)
6a108ab is described below
commit 6a108ab66b587ebe570c37cf942a43b64e7debe3
Author: Bryce Mecum <[email protected]>
AuthorDate: Mon Jan 27 17:38:20 2025 -0800
GH-363: [Java] Run maven in batch mode (#373)
Without --batch-mode, we can sometimes get ANSI escape sequences in the
input which makes downstream processing more complicated.
Fixes #363
---
java/ext/javadoctest.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/ext/javadoctest.py b/java/ext/javadoctest.py
index 296fe46..ce59b77 100644
--- a/java/ext/javadoctest.py
+++ b/java/ext/javadoctest.py
@@ -86,6 +86,7 @@ class JavaDocTestBuilder(DocTestBuilder):
test_proc = subprocess.Popen(
[
"mvn",
+ "--batch-mode",
"-f",
project_dir,
"compile",