Skip to content

Commit

Permalink
fix: make cloud-monitoring a runtime dependency (#1371)
Browse files Browse the repository at this point in the history
* fix: make cloud-monitoring a runtime dependency

* fix

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
mutianf and gcf-owl-bot[bot] committed Aug 31, 2022
1 parent d29fada commit 930d043
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions google-cloud-bigtable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,23 +262,15 @@
</exclusion>
</exclusions>
</dependency>
<!-- cloud-monitoring client depends on grpc-xds, which has transitive dependency on opencensus-proto. We need to
use cloud-monitoring as a test dependency, which also marks the opencensus-proto as a test dependency. Promote
grpc-xds to a runtime dependency so that opencensus-proto will still be a runtime dependency in the flattened pom. -->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-xds</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-monitoring</artifactId>
<scope>test</scope>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-monitoring-v3</artifactId>
<scope>test</scope>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
Expand Down

0 comments on commit 930d043

Please sign in to comment.