Skip to content

Commit 1295ae2

Browse files
authored
Exclude caffeine jandex.idx from bundle (#6447)
The bundle transitively includes caffeine-2.9.3 via the aws-s3-accessgrants-java-plugin dependency. Per ben-manes/caffeine#628 caffeine itself does not use Jandex (and removed it in the next version 3.0.0).
1 parent 7bf4d7b commit 1295ae2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "bugfix",
3+
"category": "AWS SDK for Java v2 Bundle",
4+
"contributor": "",
5+
"description": "Remove unused `META-INF/jandex.idx`. This file was shaded into the `bundle` JAR from a transitive dependency of the bundle, which also does not use this file."
6+
}

bundle-sdk/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,14 @@
188188
<include>software.amazon.eventstream:eventstream</include>
189189
</includes>
190190
</artifactSet>
191+
<filters>
192+
<filter>
193+
<artifact>com.github.ben-manes.caffeine:caffeine</artifact>
194+
<excludes>
195+
<exclude>META-INF/jandex.idx</exclude>
196+
</excludes>
197+
</filter>
198+
</filters>
191199
<relocations>
192200
<relocation>
193201
<pattern>org.apache</pattern>

0 commit comments

Comments
 (0)