Skip to content

Commit

Permalink
Reference libraries-bom in docs (#6732)
Browse files Browse the repository at this point in the history
  • Loading branch information
athakor authored and elharo committed Nov 12, 2019
1 parent cd4a5c5 commit d182fd3
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion google-cloud-clients/google-cloud-os-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,26 @@ Java idiomatic client for [Google Cloud OS Login][cloud-os-login].
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>

Add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-os-login</artifactId>
</dependency>
```
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 d182fd3

Please sign in to comment.