Use the latest JAX-WS API and runtime for Jakarta EE 8

MSAL

Update build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in Gradle compileOnly+testImplementation and Maven provided scope, to any project that has a transitive dependency on the JAX-WS API. The resulting dependencies still use the javax namespace, despite the move to the Jakarta artifact.

org.openrewrite.java.migrate.javax.AddJaxwsRuntime
mod run . --recipe=org.openrewrite.java.migrate.javax.AddJaxwsRuntime

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. Use the latest JAX-WS API and runtime for Jakarta EE 8
  2. Use the latest JAX-WS API and runtime for Jakarta EE 8