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

Commit 2fb066d

Browse files
authored
Merge pull request #6 from athakor/containeranalysis-6668
Reference libraries-bom in docs
2 parents 03821f1 + 7deab0c commit 2fb066d

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,26 @@ Quickstart
1414
----------
1515

1616
[//]: # ({x-version-update-start:google-cloud-containeranalysis:released})
17-
If you are using Maven, add this to your pom.xml file
17+
If you are using Maven with Bom, Add this to your pom.xml file.
18+
```xml
19+
<dependencyManagement>
20+
<dependencies>
21+
<dependency>
22+
<groupId>com.google.cloud</groupId>
23+
<artifactId>libraries-bom</artifactId>
24+
<version>2.8.0</version>
25+
<type>pom</type>
26+
<scope>import</scope>
27+
</dependency>
28+
</dependencies>
29+
</dependencyManagement>
30+
31+
<dependency>
32+
<groupId>com.google.cloud</groupId>
33+
<artifactId>google-cloud-containeranalysis</artifactId>
34+
</dependency>
35+
```
36+
If you are using Maven without Bom, Add this to your dependencies.
1837
```xml
1938
<dependency>
2039
<groupId>com.google.cloud</groupId>

0 commit comments

Comments
 (0)