From 930d0439086d2b43735f9583175adf0626952c9b Mon Sep 17 00:00:00 2001
From: Mattie Fu <mattiefu@google.com>
Date: Wed, 31 Aug 2022 19:46:47 -0400
Subject: [PATCH] fix: make cloud-monitoring a runtime dependency (#1371)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* 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>
---
 google-cloud-bigtable/pom.xml | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/google-cloud-bigtable/pom.xml b/google-cloud-bigtable/pom.xml
index 0ffb22637d..21c5d4def5 100644
--- a/google-cloud-bigtable/pom.xml
+++ b/google-cloud-bigtable/pom.xml
@@ -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>