Skip to content

Commit

Permalink
notes on deps
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Jan 5, 2024
1 parent 5939d22 commit 3262320
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions brave/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,17 @@
<groupId>${project.groupId}</groupId>
<artifactId>zipkin-reporter</artifactId>
<version>${project.version}</version>
<!-- Exclude the Zipkin dependency by default because
AsyncZipkinSpanHandler avoids zipkin types. -->
<exclusions>
<exclusion>
<groupId>io.zipkin.zipkin2</groupId>
<artifactId>zipkin</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Those using ZipkinSpanHandler.create or newBuilder need zipkin types
as they are passing a zipkin2.Span reporter. -->
<dependency>
<groupId>io.zipkin.zipkin2</groupId>
<artifactId>zipkin</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
</properties>

<dependencies>
<!-- This dependency can be excluded for those not using
zipkin2.reporter.AsyncReporter, which uses zipkin2 types. -->
<dependency>
<groupId>io.zipkin.zipkin2</groupId>
<artifactId>zipkin</artifactId>
<version>${zipkin.version}</version>
<optional>true</optional>
</dependency>
</dependencies>

Expand Down

0 comments on commit 3262320

Please sign in to comment.