Replace H2 driver with Quarkus JDBC H2

MSAL

Migrates com.h2database:h2 to io.quarkus:quarkus-jdbc-h2 (excludes test scope).

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

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. Change Gradle or Maven dependency com.h2database:h2
  2. Change Maven dependency scope for io.quarkus:quarkus-jdbc-h2 to null