SDK-72: Added missing dependencies used for relocation when creating shaded jar #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The SDK has some dependencies that can conflict with Jersey 2.0. To resolve this, an option to create a shaded JAR is provided here.
Creating a shaded JAR file includes all the dependencies of the SDK in a single JAR while modifying the namespace of the included dependencies to avoid conflict. However, not all dependencies are relocated in the POM file; dependencies with the namespace
com.fasterxml.jackson
are missed.The above issue throws the following exception in the
ResultStreamer
class when the results of the query are returned in an S3 file format:Adding the missing dependencies for relocation in the POM file.
Fixes issue: #72