Update Java Servlet dependencies to 3.x

MSAL

Replace the legacy javax.servlet:servlet-api dependency with javax.servlet:javax.servlet-api 3.x.

org.openrewrite.java.migrate.javaee8.MigrateToServlet3x
mod run . --recipe=org.openrewrite.java.migrate.javaee8.MigrateToServlet3x

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 javax.servlet:servlet-api