elastic / elastic-otel-java

Apache License 2.0
17 stars 13 forks source link

Automatic licences reporting #5

Closed SylvainJuge closed 10 months ago

SylvainJuge commented 1 year ago

Generate the list of dependencies and their respective licences automatically.

Here is an example in the AWS opentelemetry distribution: https://github.com/aws-observability/aws-otel-java-instrumentation/tree/main/licenses

Or in the MS distribution: https://github.com/microsoft/ApplicationInsights-Java/tree/265b23c096df18524d16b6ce58f1c30a04c483c3/licenses

See also automation of the "notices" update in the android agent project: https://github.com/elastic/apm-agent-android/blob/c00c4a3c396afc8396e36a94e795cee144e15979/build-tools/README.md?

jackshirazi commented 10 months ago

@SylvainJuge or maybe @AlexanderWert are these all the licenses for every dependency (including test dependencies) or only the dependencies for the deployed agent?

SylvainJuge commented 10 months ago

I think that it's only for "production" dependencies that the product is shipped with, the dependencies for test (or even build) are not listed in the linked examples.