Skip to content

Commit e517786

Browse files
adessaignefstab
authored andcommitted
Mark opentelemtry-api as optional to make it an optional dependency in OSGi.
Signed-off-by: Antoine DESSAIGNE <antoine.dessaigne@gmail.com>
1 parent 7c9fc39 commit e517786

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

  • simpleclient_tracer

simpleclient_tracer/simpleclient_tracer_otel/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<groupId>io.opentelemetry</groupId>
2424
<artifactId>opentelemetry-api</artifactId>
2525
<scope>provided</scope>
26+
<optional>true</optional>
2627
</dependency>
2728
</dependencies>
2829

simpleclient_tracer/simpleclient_tracer_otel_agent/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<groupId>io.opentelemetry</groupId>
2424
<artifactId>opentelemetry-api</artifactId>
2525
<scope>provided</scope>
26+
<optional>true</optional>
2627
</dependency>
2728
</dependencies>
2829

0 commit comments

Comments
 (0)