Replace Apache BVal with Hibernate Validator in validation.xml
MSALBean Validation 2.0 and later use the Hibernate Validator implementation instead of the Apache BVal implementation which was used for Bean Validation 1.0 and 1.1. This recipe points the default provider, message interpolator, traversable resolver and constraint validator factory in validation.xml deployment descriptors at their Hibernate Validator implementations, and removes the parameter name provider.
org. openrewrite. java. migrate. javaee8. ApacheDefaultProvidermod run . --recipe= org. openrewrite. java. migrate. javaee8. ApacheDefaultProviderInstall 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.