Skip to content

Mark opentelemtry-api as optional to make it an optional dependency in OSGi - #790

Merged
fstab merged 1 commit into
prometheus:masterfrom
adessaigne:opentelemetry-optional
Jun 13, 2022
Merged

Mark opentelemtry-api as optional to make it an optional dependency in OSGi#790
fstab merged 1 commit into
prometheus:masterfrom
adessaigne:opentelemetry-optional

Conversation

@adessaigne

Copy link
Copy Markdown
Contributor

As the io.opentelemetry:opentelemetry-api has the provided scope, a user has to include this dependency to make it work.
As it's not retrieved by default, I marked it as optional in Maven to make it optional in OSGi environments.

This fixes #678

…n OSGi.

Signed-off-by: Antoine DESSAIGNE <antoine.dessaigne@gmail.com>
@fstab
fstab merged commit e517786 into prometheus:master Jun 13, 2022
@fstab

fstab commented Jun 13, 2022

Copy link
Copy Markdown
Member

Thanks a lot!

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.

Few issues around of OSGi-specific headers in manifests

2 participants