Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude duplicates from -all.jar #3430

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

anuraaga
Copy link
Contributor

@anuraaga anuraaga commented Jun 29, 2021

Fixes #3405

I tried excluding duplicate dependencies from the javaagent-exporters project but found it quite complicated - in particular, while it's easy to exclude the declared dependencies (opentelemetry-sdk), excluding transitives (opentelemetry-sdk-trace) requires resolving configurations and adding lots of hairyness. This one line seems fine instead, since we apply dependency management I think it's unlikely we'd attempt to package different versions and smoke tests should catch anything fishy that could result from ignoring dupes.

@mateuszrzeszutek
Copy link
Member

Just wondering: did you run the bash command posted in that issue? Are there no duplicates left after this change?

@anuraaga
Copy link
Contributor Author

@mateuszrzeszutek Yeah confirmed no duplicates with the change

@anuraaga anuraaga merged commit c16999c into open-telemetry:main Jun 29, 2021
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.

the javaagent-all.jar file contains duplicate files
2 participants