Skip to content

Commit

Permalink
MINOR: [Docs][Java] Fix installation documentation for BOM file (#39939)
Browse files Browse the repository at this point in the history
### Rationale for this change

We should import `arrow-bom` in `dependencyManagement`.

### What changes are included in this PR?

Import `arrow-bom` module in `dependencyManagement`

### Are these changes tested?

No

### Are there any user-facing changes?

Documentation

Authored-by: wforget <643348094@qq.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
wForget authored Feb 19, 2024
1 parent 5d3f5b6 commit b63770c
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions docs/source/java/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ every module. An alternative to the above would be:
<arrow.version>15.0.0</arrow.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-bom</artifactId>
<version>${arrow.version}</version>
</dependency>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-vector</artifactId>
Expand All @@ -148,6 +143,17 @@ every module. An alternative to the above would be:
<artifactId>arrow-memory-netty</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-bom</artifactId>
<version>${arrow.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
To use the Arrow Flight dependencies, also add the ``os-maven-plugin``
Expand Down

0 comments on commit b63770c

Please sign in to comment.