-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: enforce jackson version dependency to exclude correct duplicate #229
Conversation
Unit Tests Coverage Report for aws-greengrass-testing-features
Minimum allowed coverage is Generated by 🐒 cobertura-action against 2ad4c0f |
Unit Tests Coverage Report for aws-greengrass-testing-launcher
Minimum allowed coverage is Generated by 🐒 cobertura-action against 2ad4c0f |
Unit Tests Coverage Report for aws-greengrass-testing-platform-api
Minimum allowed coverage is Generated by 🐒 cobertura-action against 2ad4c0f |
Unit Tests Coverage Report for aws-greengrass-testing-platform-pillbox
Minimum allowed coverage is Generated by 🐒 cobertura-action against 2ad4c0f |
2ad4c0f
Issue #, if available:
Description of changes:
Add jackson-core to the pom.xml for aws-greengrass-testing-examples-component. This is placed above the iotdevicesdk dependency which will otherwise create a dependency on jackson 2.12.0 which conflicts with the version of jackson we do want.
Why is this change necessary:
When running the existing tests, I would always get a NoSuchMethodError for aws-greengrass-testing-examples-component. This is due to iotdevicesdk jar taking on a transitive dependency on jackson 2.12.0, which in turn excludes the 2.15.2 version of jackson that the project is actually trying to use as there is a conflict. This results in the NoSuchMethodError as the wrong jackson version is being used.
How was this change tested:
The tests that were previously failing out-of-box are able to run and pass with this change.
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.