This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new c307dbc6f3 ARROW-16554: [Java] Download Java nightlies artifacts from
https://nightlies.apache.org/arrow/java/org/apache/arrow/ (#13352)
c307dbc6f3 is described below
commit c307dbc6f3d5d6a71420e6fbf6d790f37a0ef212
Author: david dali susanibar arce <[email protected]>
AuthorDate: Thu Jun 9 16:02:33 2022 -0500
ARROW-16554: [Java] Download Java nightlies artifacts from
https://nightlies.apache.org/arrow/java/org/apache/arrow/ (#13352)
Download Java nightlies artifacts from
https://nightlies.apache.org/arrow/java/org/apache/arrow/
Authored-by: david dali susanibar arce <[email protected]>
Signed-off-by: David Li <[email protected]>
---
docs/source/java/install.rst | 33 +++++++++++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/docs/source/java/install.rst b/docs/source/java/install.rst
index 9ff75b9e9e..fac1f90e65 100644
--- a/docs/source/java/install.rst
+++ b/docs/source/java/install.rst
@@ -143,8 +143,37 @@ Installing Nightly Packages
Arrow nightly builds are posted on the mailing list at
`[email protected]`_.
The artifacts are uploaded to GitHub. For example, for 2022/03/01, they can be
found at `Github Nightly`_.
-Maven cannot directly use the artifacts from GitHub.
-Instead, install them to the local Maven repository:
+Installing from Apache Nightlies
+********************************
+1. Look up the nightly version number for the Arrow libraries used.
+
+ For example, for ``arrow-memory``, visit
https://nightlies.apache.org/arrow/java/org/apache/arrow/arrow-memory/ and see
what versions are available (e.g. 9.0.0.dev191).
+2. Add Apache Nightlies Repository to the Maven/Gradle project.
+
+.. code-block:: xml
+
+ <properties>
+ <arrow.version>9.0.0.dev191</arrow.version>
+ </properties>
+ ...
+ <repositories>
+ <repository>
+ <id>arrow-apache-nightlies</id>
+ <url>https://nightlies.apache.org/arrow/java</url>
+ </repository>
+ </repositories>
+ ...
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.arrow</groupId>
+ <artifactId>arrow-vector</artifactId>
+ <version>${arrow.version}</version>
+ </dependency>
+ </dependencies>
+ ...
+
+Installing Manually
+*******************
1. Decide nightly packages repository to use, for example:
https://github.com/ursacomputing/crossbow/releases/tag/nightly-2022-03-19-0-github-java-jars
2. Add packages to your pom.xml, for example: flight-core (it depends on:
arrow-format, arrow-vector, arrow-memeory-core and arrow-memory-netty).