Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-38832: [Java] Avoid building twice in `ci/scripts/java_build…
….sh` (apache#38829) ### Rationale for this change `ci/scripts/java_build.sh` can invoke `mvn install` several times on the Arrow Java codebase. This happens especially in JNI and Integration builds, which have some optional components enabled. ### What changes are included in this PR? Only invoke `mvn install` once. This change seems to save around 5 minutes on the JNI and Integration builds. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#38832 Lead-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: david dali susanibar arce <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information