Replace micrometer-spring-legacy with spring-boot-starter-actuator

MSAL

Replace deprecated micrometer-spring-legacy with spring-boot-starter-actuator.

org.openrewrite.java.spring.boot2.MaybeAddSpringBootStarterActuator
mod run . --recipe=org.openrewrite.java.spring.boot2.MaybeAddSpringBootStarterActuator

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. Remove a Gradle or Maven dependency io.micrometer:micrometer-spring-legacy
  2. Add Gradle or Maven dependency org.springframework.boot:spring-boot-starter-actuator:2.0.x