Skip to content

api: Use the public maven central relase of io.opencensus:opencensus-proto#237

Open
sfc-gh-pbennes wants to merge 1 commit into
envoyproxy:mainfrom
sfc-gh-pbennes:fix_opencensus
Open

api: Use the public maven central relase of io.opencensus:opencensus-proto#237
sfc-gh-pbennes wants to merge 1 commit into
envoyproxy:mainfrom
sfc-gh-pbennes:fix_opencensus

Conversation

@sfc-gh-pbennes

Copy link
Copy Markdown

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 #171

Signed-off-by: Preston Bennes preston.bennes@snowflake.com

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 <preston.bennes@snowflake.com>
sfc-gh-pbennes added a commit to sfc-gh-pbennes/java-control-plane that referenced this pull request May 13, 2022
…le-common-protos

This fixes an issue of duplicate and possibly incompatible classes for
com/google/api and com/google/rpc proto generated classes. If a project
includes both api and proto-google-common-protos dependencies, there
will be duplicate classes on the class path. This is because:
- these classes are vendored in this repo but not declared in the pom
- the version of proto-google-common-protos used is not a public release in maven central

Similar to the issue in envoyproxy#171 that envoyproxy#237 will fix.

Signed-off-by: Preston Bennes <preston.bennes@snowflake.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.77%. Comparing base (e5b9700) to head (0997fcf).
⚠️ Report is 158 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #237      +/-   ##
============================================
- Coverage     82.48%   81.77%   -0.72%     
+ Complexity      275      274       -1     
============================================
  Files            31       31              
  Lines           982      982              
  Branches         78       78              
============================================
- Hits            810      803       -7     
- Misses          137      143       +6     
- Partials         35       36       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Issue from Unshaded Dependencies

2 participants