Skip to content

fix(#710): add missing arns library bundle in camel-aws2-s3 feature - #718

Open
jbonofre wants to merge 1 commit into
apache:camel-karaf-4.18.xfrom
jbonofre:backport-710-arns-s3-4.18.x
Open

fix(#710): add missing arns library bundle in camel-aws2-s3 feature#718
jbonofre wants to merge 1 commit into
apache:camel-karaf-4.18.xfrom
jbonofre:backport-710-arns-s3-4.18.x

Conversation

@jbonofre

Copy link
Copy Markdown
Member

Backport of #711 to camel-karaf-4.18.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.

…ture

The camel-aws2-s3 feature wraps software.amazon.awssdk/s3, which uses
software.amazon.awssdk.arns.Arn at runtime on the object-copy path (e.g.
moveAfterRead + destinationBucket). OSGi wrap: does not resolve transitive
Maven dependencies, so the arns bundle must be declared explicitly.

Backport of apache#711 to camel-karaf-4.18.x.
@jbonofre
jbonofre requested a review from essobedo July 28, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant