Migrate to Hibernate Validator 9.1.x

MSAL

This recipe will apply changes commonly needed when migrating to Hibernate Validator 9.1.x.

org.openrewrite.hibernate.validator.HibernateValidator_9_1
mod run . --recipe=org.openrewrite.hibernate.validator.HibernateValidator_9_1

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. Migrate to Hibernate Validator 8.0.x
  2. Move @Valid from the container to its element type
  3. Upgrade Gradle or Maven dependency versions org.hibernate.validator:hibernate-validator:9.1.x