Migrate a Spring Boot 3 jackson-bom.version override to jackson-2-bom.version

MSAL

In Spring Boot 4 jackson-bom.version controls the Jackson 3 (tools.jackson) BOM, while the Jackson 2 BOM is controlled by jackson-2-bom.version. A Spring Boot 3 override pins a Jackson 2 version, so rename it to keep managing Jackson 2. Gated on a Spring Boot 3 parent so a deliberate Jackson 3 override on an already-Spring-Boot-4 project is left untouched.

org.openrewrite.java.spring.boot4.MigrateJacksonBomProperty
mod run . --recipe=org.openrewrite.java.spring.boot4.MigrateJacksonBomProperty

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Rename Maven property key jackson-bom.version to jackson-2-bom.version