Replace Spring Boot starter dependencies with Quarkus equivalents
Recipe ID
org.openrewrite.quarkus.spring.MigrateBootStartersArtifact
org.openrewrite.recipe:rewrite-spring-to-quarkusMigrates Spring Boot starter dependencies to their Quarkus equivalents, removing version tags as Quarkus manages versions through its BOM.
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.quarkus.spring.MigrateBootStartersIf the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-spring-to-quarkus:0.11.0Definition
This recipe runs the following recipes in order.
- Replace Spring Boot Web with Quarkus REST
org.openrewrite.quarkus.spring.SpringBootWebToQuarkusReactive - Replace Spring Boot Web with Quarkus RESTEasy Classic
org.openrewrite.quarkus.spring.SpringBootWebToQuarkusClassic - Replace Spring Boot Data JPA with Quarkus Hibernate ORM Panache
org.openrewrite.quarkus.spring.SpringBootDataJpaToQuarkus - Replace Spring Boot Security with Quarkus Security
org.openrewrite.quarkus.spring.SpringBootSecurityToQuarkus - Replace Spring Boot Validation with Quarkus Hibernate Validator
org.openrewrite.quarkus.spring.SpringBootValidationToQuarkus - Replace Spring Boot Test with Quarkus JUnit 5
org.openrewrite.quarkus.spring.SpringBootTestToQuarkus - Replace Spring Boot Actuator with Quarkus SmallRye Health
org.openrewrite.quarkus.spring.SpringBootActuatorToQuarkus - Replace Spring Boot WebSocket with Quarkus WebSockets
org.openrewrite.quarkus.spring.SpringBootWebSocketToQuarkus - Replace Spring Boot Cache with Quarkus Cache
org.openrewrite.quarkus.spring.SpringBootCacheToQuarkus - Replace Spring Boot Data MongoDB with Quarkus MongoDB Panache
org.openrewrite.quarkus.spring.SpringBootDataMongoToQuarkus - Replace Spring Boot Data Redis with Quarkus Redis Client
org.openrewrite.quarkus.spring.SpringBootDataRedisToQuarkus - Replace Spring Boot AMQP with Quarkus Messaging AMQP
org.openrewrite.quarkus.spring.SpringBootAmqpToQuarkusReactive - Replace Spring Boot AMQP with Quarkus Messaging RabbitMQ
org.openrewrite.quarkus.spring.SpringBootAmqpToQuarkusClassic - Replace Spring Kafka with Quarkus Messaging Kafka
org.openrewrite.quarkus.spring.SpringKafkaToQuarkusReactive - Replace Spring Kafka with Quarkus Kafka Client
org.openrewrite.quarkus.spring.SpringKafkaToQuarkusClassic - Replace Spring Boot OAuth2 Resource Server with Quarkus OIDC
org.openrewrite.quarkus.spring.SpringBootOAuth2ResourceServerToQuarkus - Replace Spring Boot OAuth2 Client with Quarkus OIDC Client
org.openrewrite.quarkus.spring.SpringBootOAuth2ClientToQuarkus - Replace Spring Boot JDBC with Quarkus Agroal
org.openrewrite.quarkus.spring.SpringBootJdbcToQuarkus - Replace Spring Boot Mail with Quarkus Mailer
org.openrewrite.quarkus.spring.SpringBootMailToQuarkus - Replace Spring Boot Batch with Quarkus Scheduler
org.openrewrite.quarkus.spring.SpringBootBatchToQuarkus - Replace Spring Boot Thymeleaf with Quarkus Qute
org.openrewrite.quarkus.spring.SpringBootThymeleafToQuarkus - Replace Spring Boot Quartz with Quarkus Quartz
org.openrewrite.quarkus.spring.SpringBootQuartzToQuarkus - Replace Spring Boot Integration with Camel Quarkus
org.openrewrite.quarkus.spring.SpringBootIntegrationToQuarkus - Replace Spring Boot ActiveMQ with Quarkus Artemis JMS
org.openrewrite.quarkus.spring.SpringBootActiveMQToQuarkus - Replace Spring Boot Artemis with Quarkus Artemis JMS
org.openrewrite.quarkus.spring.SpringBootArtemisToQuarkus - Replace Spring Boot Elasticsearch with Quarkus Elasticsearch REST Client
org.openrewrite.quarkus.spring.SpringBootElasticsearchToQuarkus - Replace Spring Boot Data REST with Quarkus REST
org.openrewrite.quarkus.spring.SpringBootDataRestToQuarkus - Replace Spring Boot WebFlux with Quarkus REST Client
org.openrewrite.quarkus.spring.SpringBootWebFluxToQuarkusReactive - Remove redundant explicit dependency and plugin versions
org.openrewrite.maven.RemoveRedundantDependencyVersions
Data tables
Structured output this recipe can produce.
- Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats