Add Jackson2 for Jersey using JSON

Proprietary

Check whether a module uses Jersey on combination with JSON and adds the needed spring-boot-jackson dependency and conditionally spring-boot-jackson2 dependency.

io.moderne.java.spring.boot4.AddJackson2ForJerseyJson
mod run . --recipe=io.moderne.java.spring.boot4.AddJackson2ForJerseyJson

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. Add Gradle or Maven dependency org.springframework.boot:spring-boot-jackson:4.x
  2. Add Gradle or Maven dependency org.springframework.boot:spring-boot-jackson2:4.x
  3. Add Gradle or Maven dependency org.springframework.boot:spring-boot-jackson2:4.x