apache-client is still being included by default in aws clients #6672
Replies: 2 comments 1 reply
-
|
Hi @patrickjamesbarry, thanks for sharing your interest in the If you have switched to from |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Now that apache5-client is available, I would have thought that would become the new default. But rather the outdated 4.x version is being used/included by default. If you use mvn dependency:tree when pulling in a dependency like software.amazon.awssdk:elasticloadbalancing:2.41.8
[INFO] +- software.amazon.awssdk:elasticloadbalancing:jar:2.41.8:compile
[INFO] | +- software.amazon.awssdk:aws-query-protocol:jar:2.41.8:compile
...
[INFO] | +- software.amazon.awssdk:apache-client:jar:2.41.8:runtime
You can see this runtime dependency will still be used, even if you are specifiying the new apache5-client. You have to explicitly exclude the old jar to not have it get bundled. Is this expected behaviour? We need our jars as small as possible as we deploy aws java lambdas.
Beta Was this translation helpful? Give feedback.
All reactions