Skip to content

Commit 4d2d2dc

Browse files
kurtisvglesvelharo
authored
Update kms sample to use libraries-bom. (GoogleCloudPlatform#2019)
* Update kms sample to use libraries-bom. * deps: latest BOM Co-authored-by: Les Vogel <lesv@users.noreply.github.com> Co-authored-by: Elliotte Rusty Harold <elharo@users.noreply.github.com>
1 parent 4a358cd commit 4d2d2dc

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

kms/pom.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,27 @@
2121
<maven.compiler.source>1.8</maven.compiler.source>
2222
</properties>
2323

24+
25+
<!--
26+
Using libraries-bom to manage versions.
27+
See https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
28+
-->
29+
<dependencyManagement>
30+
<dependencies>
31+
<dependency>
32+
<groupId>com.google.cloud</groupId>
33+
<artifactId>libraries-bom</artifactId>
34+
<version>4.1.0</version>
35+
<type>pom</type>
36+
<scope>import</scope>
37+
</dependency>
38+
</dependencies>
39+
</dependencyManagement>
40+
2441
<dependencies>
2542
<dependency>
2643
<groupId>com.google.cloud</groupId>
2744
<artifactId>google-cloud-kms</artifactId>
28-
<version>1.35.1</version>
2945
</dependency>
3046
<dependency>
3147
<groupId>args4j</groupId>

0 commit comments

Comments
 (0)