Replace H2 test driver with Quarkus JDBC H2 (test scope)

MSAL

Migrates com.h2database:h2 with test scope to io.quarkus:quarkus-jdbc-h2 with test scope.

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

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 com.h2database:h2
  2. Add Gradle or Maven dependency io.quarkus:quarkus-jdbc-h2:x