This is an automated email from the ASF dual-hosted git repository.

brycemecum pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-cookbook.git


The following commit(s) were added to refs/heads/main by this push:
     new b7bc248  GH-363: [Java] Run maven in batch mode (#373)
b7bc248 is described below

commit b7bc24825b84674cc936c22c882317e1621cdf3f
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",

Reply via email to