From 9f09a850ac864992a874afcde602f3083d4a04df Mon Sep 17 00:00:00 2001 From: cindy-peng Date: Fri, 3 May 2024 12:05:03 +0800 Subject: [PATCH] make otel-context as compile dependency --- google-cloud-logging/pom.xml | 9 ++++----- pom.xml | 11 +++++------ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/google-cloud-logging/pom.xml b/google-cloud-logging/pom.xml index 1c10f8f35..091178df3 100644 --- a/google-cloud-logging/pom.xml +++ b/google-cloud-logging/pom.xml @@ -21,6 +21,10 @@ io.opentelemetry opentelemetry-api + + io.opentelemetry + opentelemetry-context + com.google.guava guava @@ -148,11 +152,6 @@ opentelemetry-sdk-testing test - - io.opentelemetry - opentelemetry-context - test - io.opentelemetry opentelemetry-sdk-trace diff --git a/pom.xml b/pom.xml index f539993ba..583b05beb 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,11 @@ opentelemetry-api ${opentelemetry.version} + + io.opentelemetry + opentelemetry-context + ${opentelemetry.version} + com.google.api.grpc @@ -144,12 +149,6 @@ ${opentelemetry.version}-alpha test - - io.opentelemetry - opentelemetry-context - ${opentelemetry.version} - test - io.opentelemetry opentelemetry-sdk-trace