Skip to content

Commit 5727e45

Browse files
authored
Exclude lz4 transitive dependency (#2300)
* update flightrecorder dependency * roll back version but keep transitive dep excluded * update license
1 parent c170164 commit 5727e45

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

licenses/licenses.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# splunk-otel-javaagent
33
## Dependency License Report
4-
_2025-04-16 20:12:29 EEST_
4+
_2025-05-02 10:31:31 PDT_
55
## Apache License, Version 2.0
66

77
**1** **Group:** `com.squareup.okhttp3` **Name:** `okhttp` **Version:** `4.12.0`
@@ -104,11 +104,7 @@ _2025-04-16 20:12:29 EEST_
104104
> - **POM Project URL**: [https://kotlinlang.org/](https://kotlinlang.org/)
105105
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
106106
107-
**25** **Group:** `org.lz4` **Name:** `lz4-java` **Version:** `1.8.0`
108-
> - **POM Project URL**: [https://github.com/lz4/lz4-java](https://github.com/lz4/lz4-java)
109-
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
110-
111-
**26** **Group:** `org.slf4j` **Name:** `jcl-over-slf4j` **Version:** `2.0.17`
107+
**25** **Group:** `org.slf4j` **Name:** `jcl-over-slf4j` **Version:** `2.0.17`
112108
> - **Project URL**: [http://www.slf4j.org](http://www.slf4j.org)
113109
> - **Manifest License**: Apache License, Version 2.0 (Not Packaged)
114110
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
@@ -117,38 +113,38 @@ _2025-04-16 20:12:29 EEST_
117113
118114
## MIT License
119115

120-
**27** **Group:** `org.slf4j` **Name:** `jcl-over-slf4j` **Version:** `2.0.17`
116+
**26** **Group:** `org.slf4j` **Name:** `jcl-over-slf4j` **Version:** `2.0.17`
121117
> - **Project URL**: [http://www.slf4j.org](http://www.slf4j.org)
122118
> - **Manifest License**: Apache License, Version 2.0 (Not Packaged)
123119
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
124120
> - **POM License**: MIT License - [https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT)
125121
> - **Embedded license files**: [jcl-over-slf4j-2.0.17.jar/META-INF/LICENSE.txt](jcl-over-slf4j-2.0.17.jar/META-INF/LICENSE.txt)
126122
127-
**28** **Group:** `org.slf4j` **Name:** `slf4j-api` **Version:** `2.0.17`
123+
**27** **Group:** `org.slf4j` **Name:** `slf4j-api` **Version:** `2.0.17`
128124
> - **Project URL**: [http://www.slf4j.org](http://www.slf4j.org)
129125
> - **POM License**: MIT License - [https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT)
130126
> - **Embedded license files**: [slf4j-api-2.0.17.jar/META-INF/LICENSE.txt](slf4j-api-2.0.17.jar/META-INF/LICENSE.txt)
131127
132128
## The 3-Clause BSD License
133129

134-
**29** **Group:** `com.google.protobuf` **Name:** `protobuf-java` **Version:** `4.29.3`
130+
**28** **Group:** `com.google.protobuf` **Name:** `protobuf-java` **Version:** `4.29.3`
135131
> - **Manifest Project URL**: [https://developers.google.com/protocol-buffers/](https://developers.google.com/protocol-buffers/)
136132
> - **Manifest License**: The 3-Clause BSD License (Not Packaged)
137133
> - **POM License**: The 3-Clause BSD License - [https://opensource.org/licenses/BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
138134
139-
**30** **Group:** `org.owasp.encoder` **Name:** `encoder` **Version:** `1.2.3`
135+
**29** **Group:** `org.owasp.encoder` **Name:** `encoder` **Version:** `1.2.3`
140136
> - **Manifest Project URL**: [https://www.owasp.org/](https://www.owasp.org/)
141137
> - **Manifest License**: The 3-Clause BSD License (Not Packaged)
142138
> - **POM License**: The 3-Clause BSD License - [https://opensource.org/licenses/BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
143139
> - **Embedded license files**: [encoder-1.2.3.jar/META-INF/LICENSE](encoder-1.2.3.jar/META-INF/LICENSE)
144140
145141
## Universal Permissive License Version 1.0 or The 3-Clause BSD License
146142

147-
**31** **Group:** `org.openjdk.jmc` **Name:** `common` **Version:** `8.3.1`
143+
**30** **Group:** `org.openjdk.jmc` **Name:** `common` **Version:** `8.3.1`
148144
> - **POM License**: Universal Permissive License Version 1.0 or The 3-Clause BSD License - [https://github.com/openjdk/jmc/blob/master/core/license/LICENSE.txt](https://github.com/openjdk/jmc/blob/master/core/license/LICENSE.txt)
149145
> - **Embedded license files**: [common-8.3.1.jar/LICENSE.txt](common-8.3.1.jar/LICENSE.txt)
150146
151-
**32** **Group:** `org.openjdk.jmc` **Name:** `flightrecorder` **Version:** `8.3.1`
147+
**31** **Group:** `org.openjdk.jmc` **Name:** `flightrecorder` **Version:** `8.3.1`
152148
> - **POM License**: Universal Permissive License Version 1.0 or The 3-Clause BSD License - [https://github.com/openjdk/jmc/blob/master/core/license/LICENSE.txt](https://github.com/openjdk/jmc/blob/master/core/license/LICENSE.txt)
153149
> - **Embedded license files**: [flightrecorder-8.3.1.jar/LICENSE.txt](flightrecorder-8.3.1.jar/LICENSE.txt)
154150

profiler/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ dependencies {
3232
implementation("io.opentelemetry:opentelemetry-sdk-logs")
3333
implementation("io.opentelemetry:opentelemetry-exporter-otlp")
3434
implementation("com.google.protobuf:protobuf-java")
35-
implementation("org.openjdk.jmc:flightrecorder:8.3.1")
35+
implementation("org.openjdk.jmc:flightrecorder:8.3.1") {
36+
exclude(group = "org.lz4", module = "lz4-java")
37+
}
3638

3739
annotationProcessor("com.google.auto.service:auto-service")
3840
compileOnly("com.google.auto.service:auto-service")

0 commit comments

Comments
 (0)