Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps jackson.version from 2.18.3 to 2.19.0.
Updates com.fasterxml.jackson.core:jackson-databind from 2.18.3 to 2.19.0

Commits

Updates com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.18.3 to 2.19.0

Updates com.fasterxml.jackson.dataformat:jackson-dataformat-xml from 2.18.3 to 2.19.0

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) labels Apr 28, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Apr 28, 2025
@dependabot dependabot bot force-pushed the dependabot/maven/jackson.version-2.19.0 branch 2 times, most recently from 6ccf19a to 6ee3efc Compare May 6, 2025 07:31
@hohwille
Copy link
Member

hohwille commented May 6, 2025

Ouch, this upgrade reveals some incompatible change in jackson that is breaking wiremock:

java.lang.NoSuchMethodError: 'com.fasterxml.jackson.annotation.OptBoolean com.fasterxml.jackson.annotation.JsonProperty.isRequired()'

Bumps `jackson.version` from 2.18.3 to 2.19.0.

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.18.3 to 2.19.0
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `com.fasterxml.jackson.datatype:jackson-datatype-jsr310` from 2.18.3 to 2.19.0

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-xml` from 2.18.3 to 2.19.0
- [Commits](FasterXML/jackson-dataformat-xml@jackson-dataformat-xml-2.18.3...jackson-dataformat-xml-2.19.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/maven/jackson.version-2.19.0 branch from 6ee3efc to 6e9418e Compare May 20, 2025 16:44
@hohwille
Copy link
Member

java.lang.NoSuchMethodError: 'com.fasterxml.jackson.annotation.OptBoolean com.fasterxml.jackson.annotation.JsonProperty.isRequired()'
at com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.hasRequiredMarker(JacksonAnnotationIntrospector.java:466)

Obviously jackson cannot be updated without also updating jackson-databind.
Fun fact is that all jackson dependencies that we define are versioned via dependencyManagement and the latter is using one variable for all Jackson artifacts and that variable was updated by dependabot in this PR.

So it seems that Jackson 2.19.0 is slightly broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium)

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

2 participants