Add the Jakarta EJB API when needed

MSAL

Add the migrated API without promoting an explicitly provided or compile-only dependency.

org.openrewrite.java.migrate.jakarta.AddJakartaEjbDependency
mod run . --recipe=org.openrewrite.java.migrate.jakarta.AddJakartaEjbDependency

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. Add Gradle or Maven dependency jakarta.ejb:jakarta.ejb-api:4.0.x