openrewrite / rewrite-jackson

OpenRewrite recipes for Jackson.
Apache License 2.0
1 stars 0 forks source link

Migrate dependencies too #1

Closed timtebeek closed 2 months ago

timtebeek commented 2 months ago

What's changed?

Additional recipes to migrate outdated dependencies to newer equivalents.

What's your motivation?

Required following package changes.

Anything in particular you'd like reviewers to focus on?

Only briefly looked at the dependency mapping; think it's ok, but I never used the older dependencies.

Have you considered any alternatives or workarounds?

This assumes an existing dependency; we could additionally use AddDependency + onlyIfUsing to ensure a dependency is added if codehaus Jackson previously only came in transitively.

timtebeek commented 2 months ago

Looking at our existing Find relocated dependencies recipe these replacements indeed seem correct, as per migrations.csv#L402-L403