Skip to content

Commit

Permalink
comment otel-context
Browse files Browse the repository at this point in the history
  • Loading branch information
cindy-peng committed May 5, 2024
1 parent 9cf24ab commit e59fd6b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
8 changes: 4 additions & 4 deletions google-cloud-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-context</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.opentelemetry</groupId>-->
<!-- <artifactId>opentelemetry-context</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down
24 changes: 14 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
<artifactId>opentelemetry-api</artifactId>
<version>${opentelemetry.version}</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-context</artifactId>
<version>${opentelemetry.version}</version>
<optional>false</optional>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.opentelemetry</groupId>-->
<!-- <artifactId>opentelemetry-context</artifactId>-->
<!-- <version>${opentelemetry.version}</version>-->
<!-- <optional>false</optional>-->
<!-- </dependency>-->
<!-- END OpenTelemetry -->
<dependency>
<groupId>com.google.api.grpc</groupId>
Expand Down Expand Up @@ -179,11 +179,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredUnusedDeclaredDependencies>org.objenesis:objenesis</ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>org.objenesis:objenesis</ignoredUnusedDeclaredDependency>
<!-- <ignoredUnusedDeclaredDependency>io.opentelemetry:opentelemetry-context</ignoredUnusedDeclaredDependency>-->
</ignoredUnusedDeclaredDependencies>
<!-- <ignoredUnusedDeclaredDependencies>io.opentelemetry:opentelemetry-context</ignoredUnusedDeclaredDependencies>-->
<!-- ignore annotations for "non-test scoped" warnings -->
<ignoredNonTestScopedDependencies>
<ignoredNonTestScopedDependency>io.opentelemetry:opentelemetry-context</ignoredNonTestScopedDependency>
</ignoredNonTestScopedDependencies>
<!-- <ignoredNonTestScopedDependencies>-->
<!-- <ignoredNonTestScopedDependency>io.opentelemetry:opentelemetry-context</ignoredNonTestScopedDependency>-->
<!-- </ignoredNonTestScopedDependencies>-->
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit e59fd6b

Please sign in to comment.