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

Commit 097bb69

Browse files
athakorelharo
authored andcommitted
docs: reference libraries-bom in docs (#8)
1 parent f3042d7 commit 097bb69

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,27 @@ Java idiomatic client for [Stackdriver Monitoring][stackdriver-monitoring].
1212

1313
Quickstart
1414
----------
15+
If you are using Maven with a BOM, add this to your pom.xml file.
16+
```xml
17+
<dependencyManagement>
18+
<dependencies>
19+
<dependency>
20+
<groupId>com.google.cloud</groupId>
21+
<artifactId>libraries-bom</artifactId>
22+
<version>2.8.0</version>
23+
<type>pom</type>
24+
<scope>import</scope>
25+
</dependency>
26+
</dependencies>
27+
</dependencyManagement>
1528

29+
<dependency>
30+
<groupId>com.google.cloud</groupId>
31+
<artifactId>google-cloud-monitoring</artifactId>
32+
</dependency>
33+
```
1634
[//]: # ({x-version-update-start:google-cloud-monitoring:released})
17-
If you are using Maven, add this to your pom.xml file
35+
If you are using Maven without a BOM, add this to your dependencies.
1836
```xml
1937
<dependency>
2038
<groupId>com.google.cloud</groupId>

0 commit comments

Comments
 (0)