Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
docs: reference libraries-bom in docs (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
athakor authored and elharo committed Nov 12, 2019
1 parent e5e5164 commit a0ee87f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,27 @@ Java idiomatic client for [Google Cloud Natural Language][cloud-language].

Quickstart
----------
If you are using Maven with a BOM, add this to your pom.xml file.
```xml
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>2.8.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-language</artifactId>
</dependency>
```
[//]: # ({x-version-update-start:google-cloud-language:released})
If you are using Maven, add this to your pom.xml file
If you are using Maven without a BOM, add this to your dependencies.
```xml
<dependency>
<groupId>com.google.cloud</groupId>
Expand Down

0 comments on commit a0ee87f

Please sign in to comment.