Skip to content

Commit

Permalink
Ban AWS SDK bundle dependencies via enforcer plugin (#16877)
Browse files Browse the repository at this point in the history
* Ban AWS SDK bundle dependencies via enforcer plugin

The bundle dependencies in v1 and v2 would add hundreds of megabytes to
our production artifacts because they bundle all AWS SDK libraries and
their transitive dependencies.

Refs Graylog2/graylog-plugin-enterprise#5944
Refs Graylog2/forwarder#121

* Fix wording in comment
  • Loading branch information
bernd authored Nov 1, 2023
1 parent 2fa7ec4 commit 51eabc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,11 @@
<exclude>asm:asm</exclude>
<!-- Mockito should by now have all the features we need. -->
<exclude>org.powermock</exclude>

<!-- Ban AWS SDK bundle dependencies for v1 and v2. These would add hundreds of
megabytes to our production artifacts and must be avoided. -->
<exclude>com.amazonaws:aws-java-sdk-bundle</exclude>
<exclude>software.amazon.awssdk:bundle</exclude>
</excludes>
</bannedDependencies>
<banDuplicatePomDependencyVersions/>
Expand Down

0 comments on commit 51eabc7

Please sign in to comment.