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

Commit 7adaecc

Browse files
athakorelharo
authored andcommitted
docs: reference libraries-bom in docs (#9)
1 parent 1b84248 commit 7adaecc

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,27 @@ Java idiomatic client for [Cloud Memorystore for Redis][cloud-redis].
1515
1616
Quickstart
1717
----------
18+
If you are using Maven with a BOM, add this to your pom.xml file.
19+
```xml
20+
<dependencyManagement>
21+
<dependencies>
22+
<dependency>
23+
<groupId>com.google.cloud</groupId>
24+
<artifactId>libraries-bom</artifactId>
25+
<version>2.8.0</version>
26+
<type>pom</type>
27+
<scope>import</scope>
28+
</dependency>
29+
</dependencies>
30+
</dependencyManagement>
1831

32+
<dependency>
33+
<groupId>com.google.cloud</groupId>
34+
<artifactId>google-cloud-redis</artifactId>
35+
</dependency>
36+
```
1937
[//]: # ({x-version-update-start:google-cloud-redis:released})
20-
Add this to your pom.xml file
38+
If you are using Maven without a BOM, add this to your dependencies.
2139
```xml
2240
<dependency>
2341
<groupId>com.google.cloud</groupId>

0 commit comments

Comments
 (0)