James Netherton created CAMEL-23866:
---------------------------------------
Summary: camel-aws2: Migrate AWS2 components to apache5-client
Key: CAMEL-23866
URL: https://issues.apache.org/jira/browse/CAMEL-23866
Project: Camel
Issue Type: Task
Reporter: James Netherton
See announcement here:
https://github.com/aws/aws-sdk-java-v2/issues/7007
software.amazon.awssdk:apache5-client is now the default since AWS Java SDK
v2.46.0.
camel-aws-common has an explicit dependency on the older apache-client:
https://github.com/apache/camel/blob/main/components/camel-aws/camel-aws-common/pom.xml#L45-L49
Which results in a mix of client impls on the classpath (which seems harmless):
[INFO] | \- software.amazon.awssdk:apache5-client:jar:2.46.10:runtime
[INFO] | +- org.apache.httpcomponents.client5:httpclient5:jar:5.6.1:runtime
[INFO] +- software.amazon.awssdk:apache-client:jar:2.46.10:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
So it'd be good to update the components to apache5-client.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)