Skip to content

Commit 46c6547

Browse files
chingor13minherz
authored andcommitted
samples: fix dependencies and region tags for tests (#178)
* samples: fix dependencies and region tags for tests * samples: snapshot sample test should use snapshot * fix END_EXCLUDE tag
1 parent 18a27b6 commit 46c6547

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

errorreporting/install-without-bom/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
</dependency>
3434
<!-- [END clouderrorreporting_install_without_bom] -->
3535

36+
<dependency>
37+
<groupId>com.google.cloud</groupId>
38+
<artifactId>google-cloud-core</artifactId>
39+
<version>1.93.6</version>
40+
</dependency>
3641
<dependency>
3742
<groupId>junit</groupId>
3843
<artifactId>junit</artifactId>

errorreporting/snapshot/pom.xml

+8-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
</properties>
2525

26-
<!-- {x-version-update-start::current} -->
2726
<dependencies>
27+
<!-- {x-version-update-start:google-cloud-errorreporting:current} -->
2828
<dependency>
2929
<groupId>com.google.cloud</groupId>
3030
<artifactId>google-cloud-errorreporting</artifactId>
31-
<version>0.119.2-beta</version>
31+
<version>0.119.3-beta-SNAPSHOT</version>
3232
</dependency>
33+
<!-- {x-version-update-end} -->
3334

35+
<dependency>
36+
<groupId>com.google.cloud</groupId>
37+
<artifactId>google-cloud-core</artifactId>
38+
<version>1.93.6</version>
39+
</dependency>
3440
<dependency>
3541
<groupId>junit</groupId>
3642
<artifactId>junit</artifactId>
@@ -44,7 +50,6 @@
4450
<scope>test</scope>
4551
</dependency>
4652
</dependencies>
47-
<!-- {x-version-update-end} -->
4853

4954
<!-- compile and run all snippet tests -->
5055
<build>

errorreporting/snippets/pom.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-cloud-errorreporting</artifactId>
4444
</dependency>
45-
<!-- [END clouderrorreporting_install_with_bom] -->
46-
45+
<!-- BEGIN_EXCLUDE -->
46+
<dependency>
47+
<groupId>com.google.cloud</groupId>
48+
<artifactId>google-cloud-core</artifactId>
49+
</dependency>
4750
<dependency>
4851
<groupId>junit</groupId>
4952
<artifactId>junit</artifactId>
@@ -56,5 +59,7 @@
5659
<version>1.0.1</version>
5760
<scope>test</scope>
5861
</dependency>
62+
<!-- END_EXCLUDE -->
5963
</dependencies>
64+
<!-- [END clouderrorreporting_install_with_bom] -->
6065
</project>

0 commit comments

Comments
 (0)