Skip to content

Commit

Permalink
Use the public maven central relase of io.opencensus:opencensus-proto
Browse files Browse the repository at this point in the history
This fixes an issue of duplicate and possibly incompatible classes for
io.opencensus classes. If a project includes both opencensus-proto and
api dependencies, there will be duplicate classes for opencensus-proto
classes on the class path. This is because:
- these classes are vendored in this repo but not declared in the pom
- the version of opencensus-proto used is not a public release in maven central

Fixes envoyproxy#171

Signed-off-by: Preston Bennes <[email protected]>
  • Loading branch information
sfc-gh-pbennes committed May 13, 2022
1 parent e5b9700 commit 0997fcf
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 1,234 deletions.
6 changes: 6 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
<version>${grpc.version}</version>
</dependency>

<dependency>
<groupId>io.opencensus</groupId>
<artifactId>opencensus-proto</artifactId>
<version>${opencensus.version}</version>
</dependency>

<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
Expand Down
101 changes: 0 additions & 101 deletions api/src/main/proto/opencensus/proto/agent/common/v1/common.proto

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0997fcf

Please sign in to comment.