Skip to content

Commit 064cdc7

Browse files
chore(deps): update dependency com.google.cloud:google-cloud-monitoring to v2 (GoogleCloudPlatform#3493)
* chore(deps): update dependency com.google.cloud:google-cloud-monitoring to v2 * Add missing deps Co-authored-by: averikitsch <akitsch@google.com>
1 parent 92ab6c1 commit 064cdc7

3 files changed

Lines changed: 35 additions & 14 deletions

File tree

appengine-java8/bigquery/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<dependency>
5858
<groupId>com.google.cloud</groupId>
5959
<artifactId>google-cloud-monitoring</artifactId>
60-
<version>1.100.1</version>
60+
<version>2.0.0</version>
6161
</dependency>
6262

6363
<dependency>

monitoring/cloud-client/pom.xml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,39 @@
3434
<maven.compiler.source>1.8</maven.compiler.source>
3535
</properties>
3636

37-
<!-- Workaround for issue : https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2192 -->
3837
<dependencyManagement>
3938
<dependencies>
4039
<dependency>
41-
<groupId>com.google.auth</groupId>
42-
<artifactId>google-auth-library-credentials</artifactId>
43-
<version>0.21.1</version>
44-
</dependency>
45-
<dependency>
46-
<groupId>com.google.auth</groupId>
47-
<artifactId>google-auth-library-oauth2-http</artifactId>
48-
<version>0.21.1</version>
40+
<groupId>com.google.cloud</groupId>
41+
<artifactId>google-cloud-bom</artifactId>
42+
<version>0.131.0</version>
43+
<type>pom</type>
44+
<scope>import</scope>
4945
</dependency>
5046
</dependencies>
5147
</dependencyManagement>
52-
<!-- End of workaround -->
5348

5449
<dependencies>
5550
<dependency>
5651
<groupId>com.google.cloud</groupId>
5752
<artifactId>google-cloud-monitoring</artifactId>
58-
<version>1.100.1</version>
5953
</dependency>
6054
<dependency>
6155
<groupId>com.google.guava</groupId>
6256
<artifactId>guava</artifactId>
6357
<version>29.0-jre</version>
6458
</dependency>
59+
<dependency>
60+
<groupId>com.google.code.gson</groupId>
61+
<artifactId>gson</artifactId>
62+
<version>2.8.6</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.google.protobuf</groupId>
66+
<artifactId>protobuf-java-util</artifactId>
67+
<version>4.0.0-rc-2</version>
68+
</dependency>
69+
6570

6671
<!-- Test dependencies -->
6772
<dependency>

monitoring/v3/pom.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,41 @@
2727
<parent>
2828
<groupId>com.google.cloud.samples</groupId>
2929
<artifactId>shared-configuration</artifactId>
30-
<version>1.0.18</version>
30+
<version>1.0.18</version>
3131
</parent>
3232

3333
<properties>
3434
<maven.compiler.target>1.8</maven.compiler.target>
3535
<maven.compiler.source>1.8</maven.compiler.source>
3636
</properties>
3737

38+
<dependencyManagement>
39+
<dependencies>
40+
<dependency>
41+
<groupId>com.google.cloud</groupId>
42+
<artifactId>google-cloud-bom</artifactId>
43+
<version>0.131.0</version>
44+
<type>pom</type>
45+
<scope>import</scope>
46+
</dependency>
47+
</dependencies>
48+
</dependencyManagement>
49+
3850
<dependencies>
3951
<dependency>
4052
<groupId>com.google.cloud</groupId>
4153
<artifactId>google-cloud-monitoring</artifactId>
42-
<version>1.100.1</version>
4354
</dependency>
4455
<dependency>
4556
<groupId>commons-cli</groupId>
4657
<artifactId>commons-cli</artifactId>
4758
<version>1.4</version>
4859
</dependency>
60+
<dependency>
61+
<groupId>com.google.code.gson</groupId>
62+
<artifactId>gson</artifactId>
63+
<version>2.8.6</version>
64+
</dependency>
4965

5066
<!-- Test dependencies -->
5167
<dependency>

0 commit comments

Comments
 (0)