aws / amazon-neptune-sigv4-signer

A library for Amazon Neptune that enables AWS Signature Version 4 signing for HTTP using Netty.
Apache License 2.0
16 stars 9 forks source link

Quarkus native image builds encounter errors with the latest version of this library #25

Open deividferreira-hotmart opened 5 months ago

deividferreira-hotmart commented 5 months ago

The removal of com.fasterxml.jackson.databind.PropertyNamingStrategy#PASCAL_CASE_TO_CAMEL_CASE poses challenges within AWS environments. This field is referenced by com.amazonaws.util.EC2MetadataUtils (a transitive reference in com.amazonaws:aws-java-sdk-core:jar:1.11.1009), and it triggers an error during Quarkus native compilation v3.9.5 (which employs Jackson 2.17.0).

Do we have any plans to update this Jackson dependency or transition to AWS SDK v2, which already incorporates the latest Jackson version?

Details error: Error: Discovered unresolved field during parsing: com.fasterxml.jackson.databind.PropertyNamingStrategy.PASCAL_CASE_TO_CAMEL_CASE. This error is reported at image build time because class com.amazonaws.util.EC2MetadataUtils is registered for linking at image build time by command line and command line. Error encountered while parsing com.amazonaws.util.EC2MetadataUtils.(EC2MetadataUtils.java:81) Parsing context: at static root method.(Unknown Source)