Set maven-ejb-plugin ejbVersion to 4.0

MSAL

Updates the <ejbVersion> configuration of maven-ejb-plugin to 4.0 when the current value (or its resolved Maven property) indicates EJB 3.x. Handles the common pattern where <ejbVersion> is coupled to the javax.ejb-api dependency version via a shared property, decoupling them after migration.

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

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.