Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update test-only dependency - Jackson #2031

Merged
merged 2 commits into from
Oct 16, 2024
Merged

build: update test-only dependency - Jackson #2031

merged 2 commits into from
Oct 16, 2024

Conversation

jjohannes
Copy link
Contributor

Description:

Jackson is a transitive dependency of 'json-snapshot'. In order to use Jackson as Java Module, we update it to the latest version instead of patching it.

Unfortunately, 'json-snapshot' has not been updated in years and the way we used it is not compatible with the latest Jackson version.

By adjusting the test setup as described here, we make it work: json-snapshot/json-snapshot.github.io#27 (comment)

Related issue(s):

This is (also) done to allow us to use the same Jackson versions across multiple hedera repositories in the context of hashgraph/hedera-services#14255.

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@jjohannes jjohannes self-assigned this Oct 8, 2024
@jjohannes jjohannes requested review from a team as code owners October 8, 2024 13:11
Jackson is a transitive dependency of 'json-snapshot'. In order to
use Jackson as Java Module, we update it to the latest version instead
of patching it.

Unfortunately, 'json-snapshot' has not been updated in years and the
way we used it is not compatible with the latest Jackson version.

By adjusting the test setup as described here, we make it work:
json-snapshot/json-snapshot.github.io#27 (comment)

Signed-off-by: Jendrik Johannes <[email protected]>
Copy link

sonarcloud bot commented Oct 9, 2024

Copy link
Contributor

@0xivanov 0xivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jjohannes jjohannes merged commit a47c7ba into main Oct 16, 2024
11 checks passed
@jjohannes jjohannes deleted the update-jackson branch October 16, 2024 04:43
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.

3 participants