-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix: upgrades jackson to 2.18.4.1 to fix android build failures #45662
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
Conversation
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates all Jackson dependencies to version 2.18.4.1 to resolve Android build failures.
- Bumps Jackson core, annotations, databind, datatype, dataformat, and module versions across SDK modules
- Updates bannedDependencies rules to match the new Jackson version
- Syncs
external_dependencies.txtand BOM generator entries for Jackson modules
Reviewed Changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/serialization/azure-json/pom.xml | Bump jackson-core to 2.18.4.1 |
| sdk/parents/clientcore-parent/pom.xml | Bump jackson-databind to 2.18.4.1 |
| sdk/parents/azure-client-sdk-parent/pom.xml | Bump jackson-databind to 2.18.4.1 |
| sdk/parents/azure-client-sdk-parent-v2/pom.xml | Bump jackson-databind to 2.18.4.1 |
| sdk/modelsrepository/azure-iot-modelsrepository/pom.xml | Bump jackson-dataformat-xml, core, databind to 2.18.4.1 and update ban rules |
| sdk/keyvault/azure-security-test-keyvault-jca/pom.xml | Bump jackson-databind to 2.18.4.1 (test scope) |
| sdk/cosmos/azure-cosmos/pom.xml | Bump jackson-module-afterburner, blackbird to 2.18.4.1 and update ban rules |
| sdk/cosmos/azure-cosmos-tests/pom.xml | Bump jackson-module-afterburner, blackbird to 2.18.4.1 |
| sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml | Bump jackson-module-afterburner to 2.18.4.1 |
| sdk/cosmos/azure-cosmos-spark_3-5_2-12/pom.xml | Bump jackson-databind, datatype-jsr310, afterburner, scala to 2.18.4.1 |
| sdk/cosmos/azure-cosmos-spark_3-4_2-12/pom.xml | Bump jackson-databind, scala to 2.18.4.1 |
| sdk/cosmos/azure-cosmos-spark_3-3_2-12/pom.xml | Bump jackson-databind, scala to 2.18.4.1 |
| sdk/cosmos/azure-cosmos-spark-account-data-resolver-sample/pom.xml | Bump banned Jackson includes to 2.18.4.1 |
| sdk/core/azure-core/pom.xml | Bump jackson-annotations, core, databind, datatype, dataformat to 2.18.4.1 and update ban rules |
| sdk/core/azure-core-version-tests/pom.xml | Bump Jackson dependencies to 2.18.4.1 and update ban rules |
| sdk/core/azure-core-serializer-json-jackson/pom.xml | Bump Jackson dependencies to 2.18.4.1 and update ban rules |
| sdk/batch/microsoft-azure-batch/pom.xml | Bump jackson-core to 2.18.4.1 (test scope) |
| eng/versioning/external_dependencies.txt | Update Jackson entries to 2.18.4.1 |
| eng/code-quality-reports/pom.xml | Bump jackson-databind to 2.18.4.1 |
| eng/bomgenerator/pom.xml | Bump jackson-dataformat-xml to 2.18.4.1 |
Comments suppressed due to low confidence (2)
sdk/cosmos/azure-cosmos-spark-account-data-resolver-sample/pom.xml:292
- There is a bannedDependencies entry for jackson-databind at version 2.15.2 in addition to 2.18.4.1—this may be unintended duplication and could conflict. Consider removing or consolidating the 2.15.2 entry if it's no longer needed.
<include>com.fasterxml.jackson.core:jackson-databind:[2.15.2]</include> <!-- {x-include-update;cosmos_com.fasterxml.jackson.core:jackson-databind;external_dependency} -->
sdk/cosmos/azure-cosmos-spark-account-data-resolver-sample/pom.xml:293
- Similar to the previous entry, there's a banned Scala module at version 2.15.2 alongside 2.18.4.1. Verify whether the older ban is still required or should be removed.
<include>com.fasterxml.jackson.module:jackson-module-scala_2.12:[2.15.2]</include> <!-- {x-include-update;cosmos_com.fasterxml.jackson.module:jackson-module-scala_2.12;external_dependency} -->
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
fixes #45634