Add explicit Common Annotations dependencies

MSAL

Add the necessary annotation-api dependency from Jakarta EE 8 to maintain compatibility with Java version 11 or greater.

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

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 separate javax annotations to a modern Jakarta graph
  2. Add Java EE 8 Common Annotations dependencies