jbonofre opened a new pull request, #719: URL: https://github.com/apache/camel-karaf/pull/719
Backport of #711 to `camel-karaf-4.14.x`. Fixes #710 ## Problem The `camel-aws2-s3` feature throws `NoClassDefFoundError: software/amazon/awssdk/arns/Arn` when a route uses the object-copy path (e.g. `moveAfterRead` + `destinationBucket`): ``` Caused by: java.lang.ClassNotFoundException: software.amazon.awssdk.arns.Arn not found by wrap_software.amazon.awssdk.s3 ``` ## Root cause The feature wraps `software.amazon.awssdk/s3`, which uses `software.amazon.awssdk.arns.Arn` at runtime (`S3ArnUtils.getArnType` on the copy path). OSGi `wrap:` does not resolve transitive Maven dependencies, so the `arns` bundle must be declared explicitly in the feature. ## Fix Add the missing `arns` bundle to the `camel-aws2-s3` feature, mirroring #711 on `main`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
