Use Environment#acceptsProfiles(Profiles)
MSALEnvironment#acceptsProfiles(String...) was deprecated in Spring Framework 5.1.
org. openrewrite. java. spring. framework. EnvironmentAcceptsProfilesmod run . --recipe= org. openrewrite. java. spring. framework. EnvironmentAcceptsProfilesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.