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

Commit

Permalink
samples(test): fix dependency declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Aug 3, 2020
1 parent 24fc133 commit ffdcf80
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
5 changes: 5 additions & 0 deletions samples/install-without-bom/pom.xml
Expand Up @@ -33,6 +33,11 @@
</dependency>
<!-- [END cloudkms_install_without_bom] -->

<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>3.12.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
9 changes: 7 additions & 2 deletions samples/snapshot/pom.xml
Expand Up @@ -23,14 +23,20 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- {x-version-update-start::current} -->
<dependencies>
<!-- {x-version-update-start:google-cloud-kms:current} -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-kms</artifactId>
<version>1.39.0</version>
</dependency>
<!-- {x-version-update-end} -->

<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>3.12.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -44,7 +50,6 @@
<scope>test</scope>
</dependency>
</dependencies>
<!-- {x-version-update-end} -->

<!-- compile and run all snippet tests -->
<build>
Expand Down
9 changes: 7 additions & 2 deletions samples/snippets/pom.xml
Expand Up @@ -42,8 +42,11 @@
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-kms</artifactId>
</dependency>
<!-- [END cloudkms_install_with_bom] -->

<!-- BEGIN_EXCLUDE -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -56,5 +59,7 @@
<version>1.0.1</version>
<scope>test</scope>
</dependency>
<!-- END_EXCLUDE -->
</dependencies>
<!-- [END cloudkms_install_with_bom] -->
</project>

0 comments on commit ffdcf80

Please sign in to comment.