Replace @SpringBootApplication with Quarkus equivalent

MSAL

Replace @SpringBootApplication with @QuarkusMain on the class that declares main, and SpringApplication.run() calls with Quarkus.run().

org.openrewrite.quarkus.spring.ReplaceSpringBootApplication
mod run . --recipe=org.openrewrite.quarkus.spring.ReplaceSpringBootApplication

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. Replace @SpringBootApplication with @QuarkusMain
  2. Replace SpringApplication.run() with Quarkus.run()